projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ef25e
)
svcrdma: Add flush_scheduled_work to module exit function
author
Tom Tucker
<tom@opengridcomputing.com>
Wed, 28 May 2008 18:57:05 +0000
(13:57 -0500)
committer
Tom Tucker
<tom@opengridcomputing.com>
Wed, 2 Jul 2008 20:02:00 +0000
(15:02 -0500)
Make certain all transports pending free are flushed from the wq
before unloading the module.
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtrdma/svc_rdma.c
b/net/sunrpc/xprtrdma/svc_rdma.c
index 171f2053e90c857292b5cee8aa85b6ab1eb23734..527acfd38284e45b60d1b1afde35da0815958115 100644
(file)
--- 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;