android_kernel_samsung_msm8976/drivers/s390/block
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
..
dasd.c [PATCH] s390: dasd partition detection 2006-03-08 14:14:01 -08:00
dasd_3370_erp.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_3990_erp.c [PATCH] s390: revert dasd eer module 2006-02-20 20:00:12 -08:00
dasd_9336_erp.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_9343_erp.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_cmb.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_devmap.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_diag.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_diag.h [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_eckd.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_eckd.h [PATCH] s390: revert dasd eer module 2006-02-20 20:00:12 -08:00
dasd_erp.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_fba.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_fba.h [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
dasd_genhd.c [PATCH] s390: dasd partition detection 2006-03-08 14:14:01 -08:00
dasd_int.h [PATCH] s390: dasd partition detection 2006-03-08 14:14:01 -08:00
dasd_ioctl.c [PATCH] s390: dasd open counter 2006-02-01 08:53:24 -08:00
dasd_proc.c [PATCH] s390: dasd partition detection 2006-03-08 14:14:01 -08:00
dcssblk.c [PATCH] s390: move s390_root_dev_* out of the cio layer 2006-01-06 08:33:49 -08:00
Kconfig [PATCH] s390: revert dasd eer module 2006-02-20 20:00:12 -08:00
Makefile [PATCH] s390: revert dasd eer module 2006-02-20 20:00:12 -08:00
xpram.c [PATCH] Add block_device_operations.getgeo block device method 2006-01-08 20:13:54 -08:00