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:07:58 +0000 (11:07 -0800)
commit7cdb12c3de2ed9f35872776794a59448b285e4e4
tree5b6004ec919c8968d01f036bf5c0ce160e952ea6
parent9d5e3b525d415308035071a009e0353d11d5c0ce
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