Stefan Richter f8436158b1 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>
2008-03-02 12:35:46 +01:00
..
2008-02-06 10:41:15 -08:00
2008-02-24 20:03:42 +01:00
2008-02-08 09:22:38 -08:00
2008-02-19 15:52:27 -08:00
2008-02-07 08:42:23 -08:00
2008-02-14 21:13:33 -08:00
2008-02-13 16:21:19 -08:00
2008-02-23 17:12:14 -08:00
2008-02-23 23:57:45 -05:00
2008-02-23 19:49:34 -08:00
2008-02-26 14:12:09 +09:00
2008-02-23 17:12:14 -08:00
2008-02-21 15:27:07 -08:00
2008-02-23 20:29:09 -08:00