diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-02-26 23:30:02 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-03-02 12:35:46 +0100 |
commit | f8436158b1d76e6842856048f287799468b56eb2 (patch) | |
tree | 45f1b707668819b83fee5a8d82a7c5333b989f0f /fs/hostfs/hostfs_kern.c | |
parent | d395991c117d43bfca97101a931a41d062a93852 (diff) |
firewire: fw-sbp2: better fix for NULL pointer dereference in scsi_remove_device
Patch "firewire: fw-sbp2: fix NULL pointer deref. in scsi_remove_device"
had the unintended effect that firewire-sbp2 could not be unloaded
anymore until all SBP-2 devices were unplugged.
We now fix the NULL pointer bug by reacquiring a reference to the sdev
instead of holding a reference to the sdev (and to the module) all the
time.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Tested-by: Jarod Wilson <jwilson@redhat.com>
Diffstat (limited to 'fs/hostfs/hostfs_kern.c')
0 files changed, 0 insertions, 0 deletions