aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/xprtrdma/svc_rdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma.c b/net/sunrpc/xprtrdma/svc_rdma.c
index 171f2053e90c..527acfd38284 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[] = {
239void svc_rdma_cleanup(void) 239void svc_rdma_cleanup(void)
240{ 240{
241 dprintk("SVCRDMA Module Removed, deregister RPC RDMA transport\n"); 241 dprintk("SVCRDMA Module Removed, deregister RPC RDMA transport\n");
242 flush_scheduled_work();
242 if (svcrdma_table_header) { 243 if (svcrdma_table_header) {
243 unregister_sysctl_table(svcrdma_table_header); 244 unregister_sysctl_table(svcrdma_table_header);
244 svcrdma_table_header = NULL; 245 svcrdma_table_header = NULL;