projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12de3b3
)
NFSv4: Do not call rpciod_down() before call to destroy_nfsv4_state()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:09 +0000
(13:44 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:09 +0000
(13:44 -0500)
The reason is that the idmapper cleanup may call flush_workqueue() on
rpciod_workqueue.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index 24988f430e4b32d70e262ea7c08bc716c8698fd4..b81149eb26e5815c3e7d81cea341e140a03fae2b 100644
(file)
--- a/
fs/nfs/inode.c
+++ b/
fs/nfs/inode.c
@@
-2025,10
+2025,11
@@
static void nfs4_kill_super(struct super_block *sb)
if (server->client != NULL && !IS_ERR(server->client))
rpc_shutdown_client(server->client);
- rpciod_down(); /* release rpciod */
destroy_nfsv4_state(server);
+ rpciod_down();
+
kfree(server->hostname);
kfree(server);
}