kernel-ark/drivers/block
Peter Osterlund 46f4e1b7d5 [PATCH] packet driver permission checking fix
If you tried to open a packet device first in read-only mode and then a
second time in read-write mode, the second open succeeded even though the
device was not correctly set up for writing.  If you then tried to write
data to the device, the writes would fail with I/O errors.

This patch prevents that problem by making the second open fail with
-EBUSY.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Cc: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-20 15:48:16 -07:00
..
aoe [PATCH] aoe: update version number to 10 2005-05-03 23:34:55 -07:00
paride
acsi_slm.c
acsi.c
amiflop.c
as-iosched.c
ataflop.c
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cciss.c
cciss.h
cfq-iosched.c
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c [PATCH] DAC960: add support for Mylex AcceleRAID 4/5/600 2005-05-05 16:36:43 -07:00
DAC960.h [PATCH] DAC960: add support for Mylex AcceleRAID 4/5/600 2005-05-05 16:36:43 -07:00
deadline-iosched.c
elevator.c
floppy.c [PATCH] remove do_sync parameter from __invalidate_device 2005-05-05 16:36:44 -07:00
genhd.c [PATCH] remove do_sync parameter from __invalidate_device 2005-05-05 16:36:44 -07:00
ida_cmd.h
ida_ioctl.h
ioctl.c [PATCH] Fix root hole in raw device 2005-05-16 21:07:21 -07:00
Kconfig [PATCH] ISA DMA Kconfig fixes - part 3 2005-05-04 07:33:14 -07:00
Kconfig.iosched
ll_rw_blk.c
loop.c
Makefile
nbd.c
noop-iosched.c
pktcdvd.c [PATCH] packet driver permission checking fix 2005-05-20 15:48:16 -07:00
ps2esdi.c
rd.c [PATCH] drivers/block/rd.c: rd_size shouldn't be static 2005-05-06 16:58:18 -07:00
scsi_ioctl.c
smart1,2.h
swim3.c
swim_iop.c
sx8.c
ub.c
umem.c
viodasd.c
xd.c
xd.h
z2ram.c