diff options
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 5511a4247190..9a3b6a4cd6b9 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -915,6 +915,7 @@ static bool nfs_write_pageuptodate(struct page *page, struct inode *inode) | |||
915 | goto out; | 915 | goto out; |
916 | if (nfsi->cache_validity & (NFS_INO_INVALID_DATA|NFS_INO_REVAL_PAGECACHE)) | 916 | if (nfsi->cache_validity & (NFS_INO_INVALID_DATA|NFS_INO_REVAL_PAGECACHE)) |
917 | return false; | 917 | return false; |
918 | smp_rmb(); | ||
918 | if (test_bit(NFS_INO_INVALIDATING, &nfsi->flags)) | 919 | if (test_bit(NFS_INO_INVALIDATING, &nfsi->flags)) |
919 | return false; | 920 | return false; |
920 | out: | 921 | out: |