diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-02-27 01:30:02 +0300 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-03-02 14:35:46 +0300 |
commit | f8436158b1d76e6842856048f287799468b56eb2 (patch) | |
tree | 45f1b707668819b83fee5a8d82a7c5333b989f0f /virt | |
parent | d395991c117d43bfca97101a931a41d062a93852 (diff) | |
download | linux-f8436158b1d76e6842856048f287799468b56eb2.tar.xz |
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 'virt')
0 files changed, 0 insertions, 0 deletions