diff options
author | Andy Adamson <andros@netapp.com> | 2009-05-01 11:33:53 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-05-03 14:45:02 -0400 |
commit | ccecee1e5e42981f5eb37f4411e8552b9db04d30 (patch) | |
tree | e78f5af87832e18dc29bd48c430967e6d5509783 /fs/nfsd | |
parent | 21515e46bc6a6279dd13f6c01898ada9720100a3 (diff) |
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/nfsd')
-rw-r--r-- | fs/nfsd/nfs4state.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index c65a27b76a9..3b711f5147a 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); } |