]> err.no Git - systemd/commitdiff
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 bc2e9c27b0f3c2eb0a2b5bae705cb6d9d5e0ad98..81fff06f30629f695f5b29f9e695d30acb33c782 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 9e4be5a90d4e74585cbebe8596b9132ea7bd64f2..2d022a00600a2f1b43008b2ad464b940e3f56821 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))