summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorSven Jost <sven.jost@googlemail.com>2009-01-15 19:09:12 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-01-15 19:09:12 +0100
commit64b333fdcc69798ab7874cf042d590b3f2d990b5 (patch)
tree9faea2b7362d29823e20b79a506bfe941aff7f6e /extras
parent92e52e2fd1698547ccec3feec479178c6988479d (diff)
volume_id: support via raid version 2
Diffstat (limited to 'extras')
-rw-r--r--extras/volume_id/lib/via_raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/via_raid.c b/extras/volume_id/lib/via_raid.c
index 9e4be5a90d..2d022a0060 100644
--- a/extras/volume_id/lib/via_raid.c
+++ b/extras/volume_id/lib/via_raid.c
@@ -83,7 +83,7 @@ int volume_id_probe_via_raid(struct volume_id *id, uint64_t off, uint64_t size)
if (le16_to_cpu(via->signature) != VIA_SIGNATURE)
return -1;
- if (via->version_number > 1)
+ if (via->version_number > 2)
return -1;
if (!meta_checksum(via))