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)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 1 Feb 2014 20:13:39 +0000 (15:13 -0500)
commit20b9a9024540a775395d5d1f41eec0ec6ec41f9b
treeb5e2bafa4060349cdb055a1e213daf79dfd97a05
parent17ead6c85c3d0ef57a14d1373f1f1cee2ce60ea8
NFSv4.1: nfs4_destroy_session must call rpc_destroy_waitqueue

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

Cc: stable@vger.kernel.org # 3.12+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4client.c
fs/nfs/nfs4session.c
fs/nfs/nfs4session.h