Skip to content
Commit f2467b6f authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 18dd78c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment