From 64b333fdcc69798ab7874cf042d590b3f2d990b5 Mon Sep 17 00:00:00 2001 From: Sven Jost Date: Thu, 15 Jan 2009 19:09:12 +0100 Subject: [PATCH] volume_id: support via raid version 2 --- configure.ac | 2 +- extras/volume_id/lib/via_raid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.5