[PATCH] fix rmmod sbp2 hang in 2.6.7
From: Hugang
Date: Tue Jul 13 2004 - 22:58:59 EST
Hi:
http://sourceforge.net/mailarchive/forum.php?thread_id=5036991&forum_id=5389
* modified files
--- orig/drivers/base/driver.c
+++ mod/drivers/base/driver.c
@@ -106,8 +106,8 @@
void driver_unregister(struct device_driver * drv)
{
- bus_remove_driver(drv);
down(&drv->unload_sem);
+ bus_remove_driver(drv);
up(&drv->unload_sem);
}
---
Hu Gang / Steve
Linux Registered User 204016
GPG Public Key: http://soulinfo.com/~hugang/hugang.asc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/