kernel-ark/block/partitions
Philippe De Muyter 86ee8ba64d 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>
2013-02-27 19:10:21 -08:00
..
acorn.c
acorn.h
amiga.c
amiga.h
atari.c
atari.h
check.c separate partition format handling from generic code 2012-01-03 22:54:06 -05:00
check.h separate partition format handling from generic code 2012-01-03 22:54:06 -05:00
efi.c block: store partition_meta_info.uuid as a string 2012-11-23 14:28:53 +01:00
efi.h
ibm.c s390/partitions: make partition detection independent from DASD ioctls 2012-09-26 15:45:05 +02:00
ibm.h
karma.c
karma.h
Kconfig partitions: enable EFI/GPT support by default 2012-12-06 14:34:58 +01:00
ldm.c LDM: Fix reassembly of extended VBLKs. 2012-02-24 09:37:42 +00:00
ldm.h
mac.c
mac.h
Makefile
msdos.c block/partition/msdos: detect AIX formatted disks even without 55aa 2013-02-27 19:10:21 -08:00
msdos.h
osf.c
osf.h
sgi.c
sgi.h
sun.c
sun.h
sysv68.c
sysv68.h
ultrix.c
ultrix.h