NFS: Clear NFS_INO_REVAL_PAGECACHE when we update the file size
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 20 Jun 2014 17:16:38 +0000 (13:16 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 24 Jun 2014 22:46:57 +0000 (18:46 -0400)
commitf2467b6f64da7d8446211c21f6fcd8fa10e8d948
tree5f441ebc910cccc4994542a945de959d88eb277d
parent18dd78c427513fb0f89365138be66e6ee8700d1b
NFS: Clear NFS_INO_REVAL_PAGECACHE when we update the file size

In nfs_update_inode(), if the change attribute is seen to change on
the server, then we set NFS_INO_REVAL_PAGECACHE in order to make
sure that we check the file size.
However, if we also update the file size in the same function, we
don't need to check it again. So make sure that we clear the
NFS_INO_REVAL_PAGECACHE that was set earlier.

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