NFS: Replace use of NFS_INO_REVAL_PAGECACHE when checking cache validity
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 26 Mar 2021 01:07:21 +0000 (21:07 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Apr 2021 00:11:44 +0000 (20:11 -0400)
commit13c0b082b6a90b1b87b5fb100983d05bcc75d9b6
tree7659e4ff52383cd640fedf89f6057ade10b69788
parent1f3208b2d6975f31b9c7c6bf174b84fe9c97492f
NFS: Replace use of NFS_INO_REVAL_PAGECACHE when checking cache validity

When checking cache validity, be more specific than just 'we want to
check the page cache validity'. In almost all cases, we want to check
that change attribute, and possibly also the size.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/file.c
fs/nfs/inode.c
fs/nfs/nfs4proc.c
fs/nfs/write.c