nfsd: nfsd4_open_confirm() must reference the open stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 01:34:21 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:14 +0000 (14:20 -0400)
commit2585fc79584684666b3d107179e43484dfb4da13
treed19d1fee9855d4c7c4a5ec4d6914c4617441fd96
parent8a0b589d8fd0e63579982cbfda099a2e09b52811
nfsd: nfsd4_open_confirm() must reference the open stateid

Ensure that nfsd4_open_confirm() keeps a reference to the open
stateid until it is done working with it.

Necessary step toward client_mutex removal.

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