original_kernel/drivers
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
..
acorn
acpi [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
atm
base
block [PATCH] fix floppy.c to store correct ro/rw status in underlying gendisk 2005-11-09 07:55:53 -08:00
bluetooth [Bluetooth]: Add endian annotations to the core 2005-11-08 09:57:21 -08:00
cdrom [PATCH] drivers/cdrom: kmalloc + memset -> kzalloc conversion 2005-11-07 07:53:59 -08:00
char [PATCH] drm fixup pci gart settings 2005-11-09 07:55:51 -08:00
connector
cpufreq [PATCH] cpu hotplug: fix locking in cpufreq drivers 2005-11-09 07:55:50 -08:00
crypto
dio [PATCH] drivers/dio: kmalloc + memset -> kzalloc conversion 2005-11-07 07:53:59 -08:00
eisa [PATCH] drivers/eisa: kmalloc + memset -> kzalloc conversion 2005-11-07 07:53:59 -08:00
fc4 [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
firmware [PATCH] drivers/firmware: kmalloc + memset -> kzalloc conversion 2005-11-07 07:54:00 -08:00
hwmon [PATCH] max1619 fix 2005-11-07 07:54:09 -08:00
i2c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
ide [PATCH] ppc: Fix PowerBook HD led on ARCH=powerpc 2005-11-08 11:19:51 +11:00
ieee1394 [PATCH] ieee1394: fix-up schedule_timeout() usage 2005-11-07 07:53:57 -08:00
infiniband [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
input [PATCH] Input: fix 'uniq' reporting in hotplug handler 2005-11-09 07:55:50 -08:00
isdn [PATCH] kfree cleanup: drivers/isdn 2005-11-07 07:54:02 -08:00
macintosh macintosh: Always export pmu_[un]register_sleep_notifier if CONFIG_PM set 2005-11-08 12:14:50 +11:00
mca
md [PATCH] drivers/md: fix-up schedule_timeout() usage 2005-11-07 07:53:57 -08:00
media Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2005-11-07 11:15:23 -08:00
message [PATCH] message: fix-up schedule_timeout() usage 2005-11-07 07:53:57 -08:00
mfd
misc
mmc Merge master.kernel.org:/home/rmk/linux-2.6-mmc 2005-11-07 13:32:52 -08:00
mtd [PATCH] mtd: onenand_base needs sched.h 2005-11-09 07:55:50 -08:00
net Merge master.kernel.org:/home/rmk/linux-2.6-serial 2005-11-08 16:04:39 -08:00
nubus
oprofile
parisc
parport [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
pci [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
pcmcia [ARM] 3093/1: SharpSL PCMCIA Updates for Cxx00 models 2005-11-08 19:15:43 +00:00
pnp [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
rapidio
s390 [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
sbus [SPARC]: Missing compat_ioctl hookup in openprom driver. 2005-11-08 10:00:13 -08:00
scsi [PATCH] kfree cleanup: drivers/scsi 2005-11-07 07:54:01 -08:00
serial [SUNSU]: Do not mark sunsu_console_setup() __init 2005-11-07 14:10:21 -08:00
sh
sn
tc Add .gitignore files for Turbochannel 2005-11-07 18:05:37 +00:00
telephony
usb
video [ARM] More sparse fixes 2005-11-08 14:44:15 +00:00
w1 [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
zorro
Kconfig
Makefile