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

Ensure that nfsd4_process_open2() 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