Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
}