nfsd: no need to unhash_stid before free
authorBenny Halevy <bhalevy@primarydata.com>
Mon, 14 Oct 2013 06:01:55 +0000 (09:01 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 29 Oct 2013 14:03:27 +0000 (10:03 -0400)
commit01a87d91fcecced2e2bdcd797794b4ede1f64b77
tree57fb22fa650d039308aa69a7a6fa5453187b90e6
parent7ebe40f20372688a627ad6c754bc0d1c05df58a9
nfsd: no need to unhash_stid before free

idr_remove is about to be called before kmem_cache_free so unhashing it
is redundant

Signed-off-by: Benny Halevy <bhalevy@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c