android_kernel_xiaomi_sm8350/drivers/s390
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
..
block [PATCH] s390: dasd partition detection 2006-03-08 14:14:01 -08:00
char [PATCH] s390: fix sclp memory corruption in tty pages list 2006-02-11 21:41:12 -08:00
cio [PATCH] s390: improve response code handling in chsc_enable_facility() 2006-03-06 18:40:45 -08:00
crypto [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
net [PATCH] s390: iucv message limit for smsg 2006-03-08 14:14:01 -08:00
scsi [SCSI] zfcp: fix: avoid race between fc_remote_port_add and scsi_add_device 2006-02-12 11:12:38 -06:00
ebcdic.c
Kconfig [PATCH] s390: hangcheck timer support 2006-02-01 08:53:24 -08:00
Makefile [PATCH] s390: move s390_root_dev_* out of the cio layer 2006-01-06 08:33:49 -08:00
s390_rdev.c [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
s390mach.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
s390mach.h [PATCH] s390: Add missing memory constraint to stcrw() 2006-02-01 08:53:24 -08:00
sysinfo.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00