mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
NFSd: call rpc_destroy_wait_queue() from free_client()
Mainly to ensure that we don't leave any hanging timers. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
5694c93e6c
commit
4cb57e3032
1 changed files with 1 additions and 0 deletions
|
@ -1107,6 +1107,7 @@ free_client(struct nfs4_client *clp)
|
|||
WARN_ON_ONCE(atomic_read(&ses->se_ref));
|
||||
free_session(ses);
|
||||
}
|
||||
rpc_destroy_wait_queue(&clp->cl_cb_waitq);
|
||||
free_svc_cred(&clp->cl_cred);
|
||||
kfree(clp->cl_name.data);
|
||||
idr_destroy(&clp->cl_stateids);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue