OpenCloudOS-Kernel/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acorn.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amiga.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amiga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atari.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atari.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
check.c [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
check.h [PATCH] small partitions/msdos cleanups 2005-06-25 16:24:59 -07:00
devfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
devfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
efi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
efi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm.c [PATCH] s390: dasd partition detection 2006-03-08 14:14:01 -08:00
ibm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ldm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mac.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msdos.c [PATCH] small partitions/msdos cleanups 2005-06-25 16:24:59 -07:00
msdos.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
osf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
osf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ultrix.c fs/partitions/ultrix.c should #include "ultrix.h" 2005-11-08 16:49:14 +01:00
ultrix.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00