diff options
author | Tom Tucker <tom@opengridcomputing.com> | 2008-05-28 13:57:05 -0500 |
---|---|---|
committer | Tom Tucker <tom@opengridcomputing.com> | 2008-07-02 15:02:00 -0500 |
commit | 902a94e0889be1f9fcefc0e1b602b06136e01812 (patch) | |
tree | 68212c3fbc1103e2174e3a2b79c0ade1bba6f251 /net/sunrpc | |
parent | 36ef25e464dbc5820c22a9b2f619b787eda594df (diff) | |
download | op-kernel-dev-902a94e0889be1f9fcefc0e1b602b06136e01812.zip op-kernel-dev-902a94e0889be1f9fcefc0e1b602b06136e01812.tar.gz |
svcrdma: Add flush_scheduled_work to module exit function
Make certain all transports pending free are flushed from the wq
before unloading the module.
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma.c b/net/sunrpc/xprtrdma/svc_rdma.c index 171f205..527acfd3 100644 --- a/net/sunrpc/xprtrdma/svc_rdma.c +++ b/net/sunrpc/xprtrdma/svc_rdma.c @@ -239,6 +239,7 @@ static ctl_table svcrdma_root_table[] = { void svc_rdma_cleanup(void) { dprintk("SVCRDMA Module Removed, deregister RPC RDMA transport\n"); + flush_scheduled_work(); if (svcrdma_table_header) { unregister_sysctl_table(svcrdma_table_header); svcrdma_table_header = NULL; |