linux-stable-rt/fs/partitions
Horst Hummel 90f0094dc6 [PATCH] s390: dasd partition detection
DASD allows to open a device as soon as gendisk is registered, which means the
device is a fake device (capacity=0) and we do know nothing about blocksize
and partitions at that point of time.  In case the device is opened by
someone, the bdev and inode creation is done with the fake device info and the
following partition detection code is just using the wrong data.

To avoid this modify the DASD state machine to make sure that the open is
rejected until the device analysis is either finished or an unformatted device
was detected.

Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-08 14:14:01 -08:00
..
Kconfig [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
Makefile [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
acorn.c
acorn.h
amiga.c
amiga.h
atari.c
atari.h
check.c [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
check.h
devfs.c
devfs.h
efi.c
efi.h
ibm.c [PATCH] s390: dasd partition detection 2006-03-08 14:14:01 -08:00
ibm.h
karma.c [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
karma.h [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
ldm.c
ldm.h
mac.c
mac.h
msdos.c
msdos.h
osf.c
osf.h
sgi.c
sgi.h
sun.c
sun.h
ultrix.c fs/partitions/ultrix.c should #include "ultrix.h" 2005-11-08 16:49:14 +01:00
ultrix.h