NFSv4: Don't discard the attributes returned by asynchronous DELEGRETURN
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 17 Dec 2016 00:48:09 +0000 (19:48 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:29:29 +0000 (17:29 -0500)
commit0bc2c9b4dca9668a236fde48ebb15e5f0735cbff
treefdbd1b88f08b93ded2902009ef4baca07b4688d7
parente603a4c1b5c2b9d24139eeb1769c5ac600318c07
NFSv4: Don't discard the attributes returned by asynchronous DELEGRETURN

DELEGRETURN will always carry a reference to the inode except when
the latter is being freed, so let's ensure that we always use that
inode information to ensure close-to-open cache consistency, even
when the DELEGRETURN call is asynchronous.

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