summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-05-01 17:33:53 +0200
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-05-03 20:45:02 +0200
commitccecee1e5e42981f5eb37f4411e8552b9db04d30 (patch)
treee78f5af87832e18dc29bd48c430967e6d5509783 /fs
parentsvcrdma: clean up error paths. (diff)
downloadlinux-ccecee1e5e42981f5eb37f4411e8552b9db04d30.tar.xz
linux-ccecee1e5e42981f5eb37f4411e8552b9db04d30.zip
nfsd41: slots are freed with session
The session and slots are allocated all in one piece. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index c65a27b76a9d..3b711f5147a7 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -580,7 +580,6 @@ free_session(struct kref *kref)
struct nfsd4_cache_entry *e = &ses->se_slots[i].sl_cache_entry;
nfsd4_release_respages(e->ce_respages, e->ce_resused);
}
- kfree(ses->se_slots);
kfree(ses);
}