]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
NFSv4: Use the nfs4_state being recovered in _nfs4_opendata_to_nfs4_state()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 8 Aug 2017 14:38:07 +0000 (10:38 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 14 Aug 2017 00:36:15 +0000 (20:36 -0400)
commit75e8c48b9ef30bfda38e7f6e5d807352fbf0b090
tree7fdce2b849183fb8cd60310c8238aa902023b4fb
parent4e2fcac773902eefdeae81637ca73bbf0398d11f
NFSv4: Use the nfs4_state being recovered in _nfs4_opendata_to_nfs4_state()

If we're recovering a nfs4_state, then we should try to use that instead
of looking up a new stateid. Only do that if the inodes match, though.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c