linux/drivers/block
Jon Masters 88baf3e85a [PATCH] fix floppy.c to store correct ro/rw status in underlying gendisk
Evgeny Stambulchik found that doing the following always worked:

# mount /dev/fd0 /mnt/floppy/
mount: block device /dev/fd0 is write-protected, mounting read-only
# mount -o remount,rw /mnt/floppy
# echo $?
0

This is the case because the block device /dev/fd0 is writeable but the
floppy disk is marked protected.  A fix is to simply have floppy_open mark
the underlying gendisk policy according to reality (since the VFS doesn't
provide a way for do_remount_sb to inquire as to the current device
status).

Signed-off-by: Jon Masters <jcm@jonmasters.org>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-09 07:55:53 -08:00
..
aoe [BLOCK] aoe: update for combined io statistics 2005-11-01 09:54:23 +01:00
paride [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
acsi_slm.c
acsi.c
amiflop.c
ataflop.c
cciss_cmd.h
cciss_scsi.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cciss_scsi.h
cciss.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
cciss.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
DAC960.h
floppy.c [PATCH] fix floppy.c to store correct ro/rw status in underlying gendisk 2005-11-09 07:55:53 -08:00
ida_cmd.h
ida_ioctl.h
Kconfig [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
loop.c
Makefile [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
nbd.c
pktcdvd.c
ps2esdi.c
rd.c
smart1,2.h
swim3.c powermac: Use a spinlock in swim3.c (floppy driver) instead of cli 2005-11-08 12:15:36 +11:00
swim_iop.c
sx8.c
ub.c [PATCH] ub: suppress gcc warnings for pointer casts 2005-10-28 16:47:38 -07:00
umem.c
viodasd.c merge filename and modify references to iseries/vio.h 2005-11-02 15:13:57 +11:00
xd.c
xd.h
z2ram.c