mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +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…
Reference in New Issue
Block a user