]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit367e164e2a0028e09cc1b39680a7d793c94cbb21
treed572b5715cb3322b391bf0d140a970ba213df462
parentdff456179f4292196b0bf4bd4b29dba88ce17f1a
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