aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/inode.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 697157c1fdd1..a2f54154d825 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -905,9 +905,6 @@ static int nfs_check_inode_attributes(struct inode *inode, struct nfs_fattr *fat
905 return -EIO; 905 return -EIO;
906 } 906 }
907 907
908 /* Do atomic weak cache consistency updates */
909 nfs_wcc_update_inode(inode, fattr);
910
911 if ((fattr->valid & NFS_ATTR_FATTR_V4) != 0 && 908 if ((fattr->valid & NFS_ATTR_FATTR_V4) != 0 &&
912 nfsi->change_attr != fattr->change_attr) 909 nfsi->change_attr != fattr->change_attr)
913 invalid |= NFS_INO_INVALID_ATTR|NFS_INO_REVAL_PAGECACHE; 910 invalid |= NFS_INO_INVALID_ATTR|NFS_INO_REVAL_PAGECACHE;
@@ -936,10 +933,6 @@ static int nfs_check_inode_attributes(struct inode *inode, struct nfs_fattr *fat
936 933
937 if (invalid != 0) 934 if (invalid != 0)
938 nfsi->cache_validity |= invalid; 935 nfsi->cache_validity |= invalid;
939 else
940 nfsi->cache_validity &= ~(NFS_INO_INVALID_ATTR
941 | NFS_INO_INVALID_ATIME
942 | NFS_INO_REVAL_PAGECACHE);
943 936
944 nfsi->read_cache_jiffies = fattr->time_start; 937 nfsi->read_cache_jiffies = fattr->time_start;
945 return 0; 938 return 0;