]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] ieee1394/sbp2: fixes for hot-unplug and module unloading
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 7 Oct 2005 23:43:49 +0000 (16:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 10 Oct 2005 18:50:54 +0000 (11:50 -0700)
commit910573c7c4aced8fd5f45c334cc67862e3424d92
tree766c2cfff9689702ba1419a2d9ba36ae8eca8fa5
parent3da68493fb66f25179fb9468994e32050a9f91ae
[PATCH] ieee1394/sbp2: fixes for hot-unplug and module unloading

Fixes for reference counting problems, deadlocks, and delays when SBP-2 devices
are unplugged or unbound from sbp2, or when unloading of sbp2/ ohci1394/ pcilynx
is attempted.

Most often reported symptoms were hotplugs remaining undetected once a FireWire
disk was unplugged since the knodemgrd kernel thread went to uninterruptible
sleep, and "modprobe -r sbp2" being unable to complete because still being in
use.

Patch is equivalent to commit abd559b1052e28d8b9c28aabde241f18fa89090b in
2.6.14-rc3 plus a fix which is necessary together with 2.6.13's scsi core API
(linux1394.org commit r1308 by Ben Collins).

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Ben Collins <bcollins@debian.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ieee1394/sbp2.c