Skip to content

Commit

Permalink
RDMA: Update missed conversion of flush_scheduled_work()
Browse files Browse the repository at this point in the history
Commit f062671 ("RDMA: Update workqueue usage") introduced ib_wq
and removed the use of flush_scheduled_work(); however, during the merge
process one chunk was lost in ib_sa_remove_one().  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
  • Loading branch information
Tejun Heo authored and Roland Dreier committed Jan 29, 2011
1 parent a25cecc commit 96e61fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/core/sa_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ static void ib_sa_remove_one(struct ib_device *device)

ib_unregister_event_handler(&sa_dev->event_handler);

flush_scheduled_work();
flush_workqueue(ib_wq);

for (i = 0; i <= sa_dev->end_port - sa_dev->start_port; ++i) {
if (rdma_port_get_link_layer(device, i + 1) == IB_LINK_LAYER_INFINIBAND) {
Expand Down

0 comments on commit 96e61fa

Please sign in to comment.