NFS: Optimise away the close-to-open getattr if there is no cached data
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 4 Sep 2015 19:07:37 +0000 (15:07 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 4 Sep 2015 20:54:28 +0000 (16:54 -0400)
If there is no cached data, then there is no need to track the file
change attribute on close.

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

diff --cc fs/nfs/inode.c
Simple merge