NFSv4: update_changeattr does not need to set NFS_INO_REVAL_PAGECACHE
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 May 2012 14:01:34 +0000 (10:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 May 2012 14:05:47 +0000 (10:05 -0400)
commit359d7d1c976851c658aa7085761015812ed3b56f
tree64e97174554638a9929850e6eaccfd23bf11cf11
parentf2c1b5100db340441963649fabb4e43e2a65df77
NFSv4: update_changeattr does not need to set NFS_INO_REVAL_PAGECACHE

We're already invalidating the data cache, and setting the new change
attribute. Since directories don't care about the i_size field, there
is no need to be forcing any extra revalidation of the page cache.

We do keep the NFS_INO_INVALID_ATTR flag, in order to force an
attribute cache revalidation on stat() calls since we do not
update the mtime and ctime fields.

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