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)
commit5cf9d70659594e1a75b34d18619d0bb6e0cbbafa
treee0867951fda1530a1ca2099c4a3f1e4e7f0b0df9
parent7cc8c5cde0a5872f5d013f82978b73c011d8f8f1
NFS: Optimise away the close-to-open getattr if there is no cached data

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