Commit ccecee1e authored by Andy Adamson's avatar Andy Adamson Committed by J. Bruce Fields

nfsd41: slots are freed with session

The session and slots are allocated all in one piece.
Signed-off-by: default avatarAndy Adamson <andros@netapp.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 21515e46
...@@ -580,7 +580,6 @@ free_session(struct kref *kref) ...@@ -580,7 +580,6 @@ free_session(struct kref *kref)
struct nfsd4_cache_entry *e = &ses->se_slots[i].sl_cache_entry; struct nfsd4_cache_entry *e = &ses->se_slots[i].sl_cache_entry;
nfsd4_release_respages(e->ce_respages, e->ce_resused); nfsd4_release_respages(e->ce_respages, e->ce_resused);
} }
kfree(ses->se_slots);
kfree(ses); kfree(ses);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment