提交 967b9281 编写于 作者: T Trond Myklebust

NFSv4: Do not call rpciod_down() before call to destroy_nfsv4_state()

The reason is that the idmapper cleanup may call flush_workqueue() on
rpciod_workqueue.
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 12de3b35
...@@ -2025,10 +2025,11 @@ static void nfs4_kill_super(struct super_block *sb) ...@@ -2025,10 +2025,11 @@ static void nfs4_kill_super(struct super_block *sb)
if (server->client != NULL && !IS_ERR(server->client)) if (server->client != NULL && !IS_ERR(server->client))
rpc_shutdown_client(server->client); rpc_shutdown_client(server->client);
rpciod_down(); /* release rpciod */
destroy_nfsv4_state(server); destroy_nfsv4_state(server);
rpciod_down();
kfree(server->hostname); kfree(server->hostname);
kfree(server); kfree(server);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册