OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ee3f9
)
firewire: fix unloading of fw-ohci while devices are attached
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Mon, 20 Aug 2007 23:05:14 +0000
(
01:05
+0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sat, 25 Aug 2007 16:00:27 +0000
(18:00 +0200)
Fix panic in run_timer_softirq right after "modprobe -r firewire-ohci"
if a FireWire disk was attached and firewire-sbp2 loaded.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-card.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-card.c
b/drivers/firewire/fw-card.c
index
0aeab32
..
3e97199
100644
(file)
--- a/
drivers/firewire/fw-card.c
+++ b/
drivers/firewire/fw-card.c
@@
-510,9
+510,11
@@
fw_core_remove_card(struct fw_card *card)
/* Set up the dummy driver. */
card->driver = &dummy_driver;
- fw_flush_transactions(card);
-
fw_destroy_nodes(card);
+ flush_scheduled_work();
+
+ fw_flush_transactions(card);
+ del_timer_sync(&card->flush_timer);
fw_card_put(card);
}