Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8a2d9ed3210464d22fccb9834970629c1c36fa36 Commit: 8a2d9ed3210464d22fccb9834970629c1c36fa36 Parent: a2ee3f9bbb0ce57102dad8928d54f59acdc4b8f7 Author: Stefan Richter <[EMAIL PROTECTED]> AuthorDate: Tue Aug 21 01:05:14 2007 +0200 Committer: Stefan Richter <[EMAIL PROTECTED]> CommitDate: Sat Aug 25 18:00:27 2007 +0200
firewire: fix unloading of fw-ohci while devices are attached 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 <[EMAIL PROTECTED]> --- drivers/firewire/fw-card.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c index 0aeab32..3e97199 100644 --- 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); } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html