NFSv4: Use correct inode in _nfs4_opendata_to_nfs4_state()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 8 Aug 2017 13:06:18 +0000 (09:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 14 Aug 2017 00:36:15 +0000 (20:36 -0400)
commit4e2fcac773902eefdeae81637ca73bbf0398d11f
treee8d0c5700da7cb5bd13b739978d88e1fc16a818c
parentef954844c7ace62f773f4f23e28d2d915adc419f
NFSv4: Use correct inode in _nfs4_opendata_to_nfs4_state()

When doing open by filehandle we don't really want to lookup a new inode,
but rather update the one we've got. Add a helper which does this for us.

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