diff options
author | Philippe De Muyter <phdm@macqel.be> | 2013-02-28 02:05:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 04:10:21 +0100 |
commit | 86ee8ba64daf5e09a71e4c216f81fae8d1c937f3 (patch) | |
tree | 074962cd77e6d2cfaef867a1eeadb2c83fdd8ebc /block/blk-iopoll.c | |
parent | drivers/char/misc.c:misc_register(): do not loop on misc_list unconditionally (diff) | |
download | linux-86ee8ba64daf5e09a71e4c216f81fae8d1c937f3.tar.xz linux-86ee8ba64daf5e09a71e4c216f81fae8d1c937f3.zip |
block/partition/msdos: detect AIX formatted disks even without 55aa
AIX formatted disks do not always have the MSDOS 55aa signature.
This happens e.g. for unbootable AIX disks.
Up to now, such disks were not recognized as AIX disks, because of the
missing 55aa. Fix that by inverting the two tests. Let's first
check for the AIX magic strings, and only if that fails check for
the MSDOS magic word.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Cc: Andreas Mohr <andi@lisas.de>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/blk-iopoll.c')
0 files changed, 0 insertions, 0 deletions