NFS: Optimise attribute revalidation on close().
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Oct 2005 02:12:41 +0000 (22:12 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Oct 2005 02:12:41 +0000 (22:12 -0400)
commit3338c143b4fde2d256016b63043ec8e2c93eba19
treebabfe2188e64ea0bb37c9838f5bcd3337c0c7504
parent56ae19f38f10aad4f27f7e12138a29b295dff07a
NFS: Optimise attribute revalidation on close().

 Only force a getattr in nfs_file_flush() if the attribute
 cache is stale.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/file.c