Skip to content

Commit 4cb57e3

Browse files
trondmypdJ. Bruce Fields
authored and
J. Bruce Fields
committed
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>
1 parent 5694c93 commit 4cb57e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfsd/nfs4state.c

+1
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,7 @@ free_client(struct nfs4_client *clp)
11071107
WARN_ON_ONCE(atomic_read(&ses->se_ref));
11081108
free_session(ses);
11091109
}
1110+
rpc_destroy_wait_queue(&clp->cl_cb_waitq);
11101111
free_svc_cred(&clp->cl_cred);
11111112
kfree(clp->cl_name.data);
11121113
idr_destroy(&clp->cl_stateids);

0 commit comments

Comments
 (0)