summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-05-01 11:33:53 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-05-03 14:45:02 -0400
commitccecee1e5e42981f5eb37f4411e8552b9db04d30 (patch)
treee78f5af87832e18dc29bd48c430967e6d5509783 /fs
parent21515e46bc6a6279dd13f6c01898ada9720100a3 (diff)
downloadop-kernel-dev-ccecee1e5e42981f5eb37f4411e8552b9db04d30.zip
op-kernel-dev-ccecee1e5e42981f5eb37f4411e8552b9db04d30.tar.gz
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 c65a27b..3b711f5 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);
}
OpenPOWER on IntegriCloud