nfsd: nfsd4_process_open2() must reference the delegation stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 01:34:18 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:11 +0000 (14:20 -0400)
commitdcd94cc2e75cb1457d4d2dcfa0b360baee4b8764
treed572b5715cb3322b391bf0d140a970ba213df462
parent67cb1279be27345ba6855c1aab9e90ef5f5ac645
nfsd: nfsd4_process_open2() must reference the delegation stateid

Ensure that nfsd4_process_open2() keeps a reference to the delegation
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