summaryrefslogtreecommitdiff
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
parent92e52e2fd1698547ccec3feec479178c6988479d (diff)
volume_id: support via raid version 2
-rw-r--r--configure.ac2
-rw-r--r--extras/volume_id/lib/via_raid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bc2e9c27b0..81fff06f30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ AC_SUBST(LIBUDEV_LT_AGE)
dnl /* libvolume_id version */
VOLID_LT_CURRENT=1
-VOLID_LT_REVISION=7
+VOLID_LT_REVISION=8
VOLID_LT_AGE=0
AC_SUBST(VOLID_LT_CURRENT)
AC_SUBST(VOLID_LT_REVISION)
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))