diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-01 13:47:06 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-01 15:13:39 -0500 |
commit | 20b9a9024540a775395d5d1f41eec0ec6ec41f9b (patch) | |
tree | b5e2bafa4060349cdb055a1e213daf79dfd97a05 /fs/nfs/nfs4client.c | |
parent | 17ead6c85c3d0ef57a14d1373f1f1cee2ce60ea8 (diff) | |
download | op-kernel-dev-20b9a9024540a775395d5d1f41eec0ec6ec41f9b.zip op-kernel-dev-20b9a9024540a775395d5d1f41eec0ec6ec41f9b.tar.gz |
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>
Diffstat (limited to 'fs/nfs/nfs4client.c')
-rw-r--r-- | fs/nfs/nfs4client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index dbb3e1f..860ad26 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c @@ -170,7 +170,7 @@ void nfs41_shutdown_client(struct nfs_client *clp) void nfs40_shutdown_client(struct nfs_client *clp) { if (clp->cl_slot_tbl) { - nfs4_release_slot_table(clp->cl_slot_tbl); + nfs4_shutdown_slot_table(clp->cl_slot_tbl); kfree(clp->cl_slot_tbl); } } |