NFSv4.1: nfs4_destroy_session must call rpc_destroy_waitqueue
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 1 Feb 2014 18:47:06 +0000 (13:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Feb 2014 19:10:06 +0000 (11:10 -0800)
commit7cc5b0ecaa9dbb3df6db4af7c8dfbdaf294cf72a
treebe3e5f5cfbe3ec79a5b4dd3e01ec427bf95d569a
parente803b163dccd2762ab67b5ccd16d28f95efc38ab
NFSv4.1: nfs4_destroy_session must call rpc_destroy_waitqueue

commit 20b9a9024540a775395d5d1f41eec0ec6ec41f9b upstream.

There may still be timers active on the session waitqueues. Make sure
that we kill them before freeing the memory.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4client.c
fs/nfs/nfs4session.c
fs/nfs/nfs4session.h