nfsd: nfs4_open_delegation needs to remove_stid rather than unhash_stid
authorBenny Halevy <bhalevy@primarydata.com>
Tue, 15 Oct 2013 06:57:55 +0000 (09:57 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 28 Oct 2013 19:58:20 +0000 (15:58 -0400)
commit5d7dab83e3e55e81a88c406da71afde0ebaa6ad8
tree34773e8b12f70aa456ccd025c2f2cb24d5ddedf1
parent9857df815f17417be116f800636f460e247afb5a
nfsd: nfs4_open_delegation needs to remove_stid rather than unhash_stid

In the out_free: path, the newly allocated stid must be removed rather
than unhashed so it can never be found.

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