NFSd: call rpc_destroy_wait_queue() from free_client()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 18 Apr 2014 18:43:57 +0000 (14:43 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 9 Jun 2014 12:29:09 +0000 (13:29 +0100)
commita1c2ce496cc680efb0086b65b303bdb6919f2aea
tree126f9ab74dcd5cc7620e8159d458f70d1fc21141
parent9f8b7c3919e494881697db355b8b8b33400d740e
NFSd: call rpc_destroy_wait_queue() from free_client()

commit 4cb57e3032d4e4bf5e97780e9907da7282b02b0c upstream.

Mainly to ensure that we don't leave any hanging timers.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfsd/nfs4state.c