mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
RHEL 5 / CentOS 5 bug fix: the argument of flush_workqueue() is a workqueue
pointer, not a struct work pointer. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -3289,7 +3289,7 @@ static void srpt_remove_one(struct ib_device *device)
|
||||
* kernels do not have a facility to cancel scheduled work, so
|
||||
* wait until the scheduled work finished.
|
||||
*/
|
||||
flush_workqueue(&sdev->port[i].work);
|
||||
flush_scheduled_work();
|
||||
#endif
|
||||
|
||||
ib_destroy_cm_id(sdev->cm_id);
|
||||
|
||||
Reference in New Issue
Block a user