linux/drivers
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
..
acorn
acpi acpi: fix potential call to a freed memory section. 2007-05-17 05:23:04 -07:00
amba
ata sata_via: pcim_iomap_regions() conversion missed BAR5 2007-05-17 20:57:38 -04:00
atm
auxdisplay
base
block cciss: Fix pci_driver.shutdown while device is still active 2007-05-18 21:03:49 -07:00
bluetooth
cdrom
char [POWERPC] Fix comment in booke_wdt 2007-05-17 21:10:15 +10:00
clocksource
connector
cpufreq
crypto [CRYPTO] padlock: Make CRYPTO_DEV_PADLOCK a tristate again 2007-05-18 13:17:22 +10:00
dio
dma
edac
eisa
fc4
firewire missing mm.h in fw-ohci 2007-05-15 18:56:37 -07:00
firmware
hid
hwmon
i2c
ide Use menuconfig objects: IDE 2007-05-16 00:51:46 +02:00
ieee1394
infiniband Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2007-05-15 09:52:31 -07:00
input missing dependencies for USB drivers in input 2007-05-15 18:56:37 -07:00
isdn
kvm [S390] Kconfig: refine depends statements. 2007-05-10 15:46:07 +02:00
leds
macintosh [POWERPC] Remove build warnings in windfarm_core 2007-05-17 21:11:19 +10:00
mca
md
media em28xx and ivtv should depend on PCI 2007-05-15 18:56:37 -07:00
message
mfd
misc
mmc pxamci: fix PXA27x MMC workaround for bad CRC with 136 bit response 2007-05-14 18:51:48 +02:00
mtd Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
net e1000: Fix msi enable leak on error, don't print error message, cleanup 2007-05-17 20:43:15 -04:00
nubus
oprofile
parisc
parport parport_pc needs dma-mapping.h 2007-05-16 21:19:15 -07:00
pci rpadlpar breakage - fallout of struct subsystem removal 2007-05-15 18:56:37 -07:00
pcmcia
pnp
ps3
rapidio
rtc rtc kconfig clarification 2007-05-17 05:23:05 -07:00
s390
sbus [SPARC] SBUS: display7seg.c needs asm/io.h 2007-05-13 22:22:47 -07:00
scsi [SCSI]: Add help text for SCSI_ESP_CORE. 2007-05-13 23:52:14 -07:00
serial NS16550A: Restore HS settings in EXCR2 on resume 2007-05-17 05:25:49 -07:00
sh
sn
spi spi: fix spidev for >sizeof(long)/32 devices 2007-05-16 21:19:15 -07:00
tc
telephony
usb
video Refine SCREEN_INFO sanity check for vgacon initialization 2007-05-17 05:23:04 -07:00
w1
zorro
Kconfig
Makefile