]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: support LSI RAID on partition too
authorKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2015 08:55:47 +0000 (10:55 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2015 08:55:47 +0000 (10:55 +0200)
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1172510
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/lsi_raid.c

index 697b0fe89bdb8e36497788ebe7c860b69b002997..f421ac9dbe8e2f8c80b0026359bd34fa09db516e 100644 (file)
@@ -31,8 +31,6 @@ static int probe_lsiraid(blkid_probe pr,
 
        if (pr->size < 0x10000)
                return 1;
-       if (!S_ISREG(pr->mode) && !blkid_probe_is_wholedisk(pr))
-               return 1;
 
        off = ((pr->size / 0x200) - 1) * 0x200;
        lsi = (struct lsi_metadata *)