From: Sven Jost Date: Thu, 15 Jan 2009 18:09:12 +0000 (+0100) Subject: volume_id: support via raid version 2 X-Git-Tag: 174~1201 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b333fdcc69798ab7874cf042d590b3f2d990b5;p=systemd volume_id: support via raid version 2 --- diff --git a/configure.ac b/configure.ac index bc2e9c27..81fff06f 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 9e4be5a9..2d022a00 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))