https://github.com/torvalds/linux
Revision 751bf4d7865e4ced406be93b04c7436d866d3684 authored by James Bottomley on 02 January 2008, 17:14:30 UTC, committed by James Bottomley on 02 January 2008, 19:08:00 UTC
A recent bug report:

http://bugzilla.kernel.org/show_bug.cgi?id=9674

Was caused because the ULDs now set their own prep functions, but
don't necessarily reset the prep function back to the SCSI default
when they are removed.  This leads to panics if commands are sent to
the device after the module is removed because the prep_fn is still
pointing to the old module code.  The fix for this is to implement a
bus remove method that resets the prep_fn pointer correctly before
calling the ULD specific driver remove method.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
1 parent dc51281
History
Tip revision: 751bf4d7865e4ced406be93b04c7436d866d3684 authored by James Bottomley on 02 January 2008, 17:14:30 UTC
[SCSI] scsi_sysfs: restore prep_fn when ULD is removed
Tip revision: 751bf4d
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 91.6 KB
Makefile -rw-r--r-- 51.9 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top