aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index e5070aa5f175..02e185168602 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -1050,6 +1050,7 @@ int nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping)
1050 } 1050 }
1051 1051
1052 set_bit(NFS_INO_INVALIDATING, bitlock); 1052 set_bit(NFS_INO_INVALIDATING, bitlock);
1053 smp_wmb();
1053 nfsi->cache_validity &= ~NFS_INO_INVALID_DATA; 1054 nfsi->cache_validity &= ~NFS_INO_INVALID_DATA;
1054 spin_unlock(&inode->i_lock); 1055 spin_unlock(&inode->i_lock);
1055 trace_nfs_invalidate_mapping_enter(inode); 1056 trace_nfs_invalidate_mapping_enter(inode);