aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/inode.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 8d67e5e52310..9d76c0bd1176 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -1312,7 +1312,11 @@ static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr)
1312 if (inode->i_version != fattr->change_attr) { 1312 if (inode->i_version != fattr->change_attr) {
1313 dprintk("NFS: change_attr change on server for file %s/%ld\n", 1313 dprintk("NFS: change_attr change on server for file %s/%ld\n",
1314 inode->i_sb->s_id, inode->i_ino); 1314 inode->i_sb->s_id, inode->i_ino);
1315 invalid |= NFS_INO_INVALID_ATTR|NFS_INO_INVALID_DATA|NFS_INO_INVALID_ACCESS|NFS_INO_INVALID_ACL; 1315 invalid |= NFS_INO_INVALID_ATTR
1316 | NFS_INO_INVALID_DATA
1317 | NFS_INO_INVALID_ACCESS
1318 | NFS_INO_INVALID_ACL
1319 | NFS_INO_REVAL_PAGECACHE;
1316 if (S_ISDIR(inode->i_mode)) 1320 if (S_ISDIR(inode->i_mode))
1317 nfs_force_lookup_revalidate(inode); 1321 nfs_force_lookup_revalidate(inode);
1318 inode->i_version = fattr->change_attr; 1322 inode->i_version = fattr->change_attr;