IB/uverbs: Flush scheduled work before unloading module
authorMichael S. Tsirkin <mst@mellanox.co.il>
Tue, 17 Jan 2006 17:41:47 +0000 (09:41 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 17 Jan 2006 17:41:47 +0000 (09:41 -0800)
commitcc76e33ec98ee2acab2d10828d31588d1b10f274
treed27b370cfd39b940b28c8b3401d750d82107ac4b
parent47f7a0714b67b904a3a36e2f2d85904e8064219b
IB/uverbs: Flush scheduled work before unloading module

uverbs might schedule work to clean up when a file is closed.  Make
sure that this work runs before allowing module text to go away.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs_main.c