nfsd4: don't leave freed stateid hashed
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 12 Dec 2012 20:24:12 +0000 (15:24 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 18 Dec 2012 03:00:28 +0000 (22:00 -0500)
commit24ffb93872f7363a01ad639e3c8a9889b46c3f0a
treead6e3f199736a84276da2649fca0e8bdce7ffc15
parenta1dc6955829f20ad80c1d6a411ecbcf538bb1410
nfsd4: don't leave freed stateid hashed

Note the stateid is hashed early on in init_stid(), but isn't currently
being unhashed on error paths.

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