]> err.no Git - util-linux/commitdiff
blkid: support via raid version 2
authorSven Jost <sven.jost@googlemail.com>
Thu, 29 Jan 2009 15:35:54 +0000 (16:35 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:35:25 +0000 (23:35 +0100)
[kzak@redhat.com: patch from udev volume_id]

Signed-off-by: Karel Zak <kzak@redhat.com>
libs/blkid/src/probers/via_raid.c

index 3e74da5ced41e719c6a73ec2f81a40fe820c326c..22022fdd521263ced0c47e4e8b17547b0dd47364 100644 (file)
@@ -63,7 +63,7 @@ static int probe_viaraid(blkid_probe pr, const struct blkid_idmag *mag)
                return -1;
        if (le16_to_cpu(v->signature) != VIA_SIGNATURE)
                return -1;
-       if (v->version_number > 1)
+       if (v->version_number > 2)
                return -1;
        if (!via_checksum(v))
                return -1;