nfs: define and use the NFS_INO_INVALID_XATTR flag
[sfrench/cifs-2.6.git] / fs / nfs / nfs4proc.c
index 6540071cb2289e85b128e1a6fb4e40ede92208c9..0d123fe0a423df152755cc7ca7ad20cfdaad4c02 100644 (file)
@@ -1183,7 +1183,8 @@ nfs4_update_changeattr_locked(struct inode *inode,
 
                if (cinfo->before != inode_peek_iversion_raw(inode))
                        nfsi->cache_validity |= NFS_INO_INVALID_ACCESS |
-                                               NFS_INO_INVALID_ACL;
+                                               NFS_INO_INVALID_ACL |
+                                               NFS_INO_INVALID_XATTR;
        }
        inode_set_iversion_raw(inode, cinfo->after);
        nfsi->read_cache_jiffies = timestamp;