author: Trond Myklebust <trond.myklebust@hammerspace.com> 2021-03-25 21:07:21 -0400
committer: Trond Myklebust <trond.myklebust@hammerspace.com> 2021-04-12 20:11:44 -0400
commit: 13c0b082b6a90b1b87b5fb100983d05bcc75d9b6
parent: 1f3208b2d6975f31b9c7c6bf174b84fe9c97492f
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 16ad5050e046..1fef107961bc 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -105,7 +105,7 @@ static int nfs_revalidate_file_size(struct inode *inode, struct file *filp)
if (filp->f_flags & O_DIRECT)
goto force_reval;
- if (nfs_check_cache_invalid(inode, NFS_INO_REVAL_PAGECACHE))
+ if (nfs_check_cache_invalid(inode, NFS_INO_INVALID_SIZE))
goto force_reval;
return 0;
force_reval: