NFS: Don't revalidate the file on close if we hold a delegation
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 16 Dec 2016 22:39:58 +0000 (17:39 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:29:32 +0000 (17:29 -0500)
commit58ff41842c7b8b8a79752e3d040188ebddb95194
tree5c19ed36f6df9d051867ba19ec90ca790335f4c2
parent0bc2c9b4dca9668a236fde48ebb15e5f0735cbff
NFS: Don't revalidate the file on close if we hold a delegation

If we're holding a delegation, we can skip sending the close-to-open
GETATTR until we're returning that delegation.

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