mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-15 01:44:52 +00:00
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>
This commit is contained in:
parent
21515e46bc
commit
ccecee1e5e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user