NFS: Don't revalidate the mapping if both size and change attr are up to date
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 5 Jul 2015 15:02:53 +0000 (11:02 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 22 Jul 2015 21:15:53 +0000 (17:15 -0400)
If we've ensured that the size and the change attribute are both correct,
then there is no point in marking those attributes as needing revalidation
again. Only do so if we know the size is incorrect and was not updated.

Fixes: f2467b6f64da ("NFS: Clear NFS_INO_REVAL_PAGECACHE when...")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/inode.c

diff --cc fs/nfs/inode.c
Simple merge