kernel-ark/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
..
acorn.c
acorn.h
amiga.c
amiga.h
atari.c
atari.h
check.c
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
karma.h
Kconfig
ldm.c
ldm.h
mac.c
mac.h
Makefile
msdos.c
msdos.h
osf.c
osf.h
sgi.c
sgi.h
sun.c
sun.h
ultrix.c
ultrix.h