kernel-ark/drivers/block
Gerald Britton e9ca75b535 cciss: Fix pci_driver.shutdown while device is still active
Fix an Oops in the cciss driver caused by system shutdown while a filesystem
on a cciss device is still active.  The cciss_remove_one function only
properly removes the device if the device has been cleanly released by its
users, which is not the case when the pci_driver.shutdown method is called.

This patch adds a new cciss_shutdown function to better match the pattern
used by various SCSI drivers: deactivate device interrupts and flush caches.
It also alters the cciss_remove_one function to match and readds the
__devexit annotation that was removed when cciss_remove_one was serving as
the pci_driver.shutdown method.

Signed-off-by: Gerald Britton <gbritton@alum.mit.edu>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-18 21:03:49 -07:00
..
aoe
paride
acsi_slm.c
acsi.c
amiflop.c
ataflop.c
cciss_cmd.h
cciss_scsi.c cciss: include scsi/scsi.h unconditionally 2007-05-08 11:15:10 -07:00
cciss_scsi.h
cciss.c cciss: Fix pci_driver.shutdown while device is still active 2007-05-18 21:03:49 -07:00
cciss.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c
ida_cmd.h
ida_ioctl.h
Kconfig [S390] Kconfig: use common Kconfig files for s390. 2007-05-10 15:46:08 +02:00
loop.c fix deadlock in loop.c 2007-05-13 09:44:05 -07:00
Makefile
nbd.c nbd: check the return value of sysfs_create_file 2007-05-09 12:30:49 -07:00
pktcdvd.c
ps2esdi.c
rd.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
smart1,2.h
swim3.c
sx8.c
ub.c
umem.c
viodasd.c
xd.c
xd.h
z2ram.c