chiark / gitweb /
volume_id: support via raid version 2
authorSven Jost <sven.jost@googlemail.com>
Thu, 15 Jan 2009 18:09:12 +0000 (19:09 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 15 Jan 2009 18:09:12 +0000 (19:09 +0100)
configure.ac
extras/volume_id/lib/via_raid.c

index bc2e9c2..81fff06 100644 (file)
@@ -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)
index 9e4be5a..2d022a0 100644 (file)
@@ -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))