From: Trond Myklebust Date: Mon, 1 Oct 2007 14:00:23 +0000 (-0400) Subject: NFS: nfs_mark_for_revalidate don't update cache_change_attribute X-Git-Tag: firefly_0821_release~25901^2~30 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f38211100d4823be530577dc3452f838861222ec;p=firefly-linux-kernel-4.4.55.git NFS: nfs_mark_for_revalidate don't update cache_change_attribute Just let the subsequent inode revalidation do the update... Signed-off-by: Trond Myklebust --- diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 0197b1243fe0..35d61924e0b9 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -235,10 +235,8 @@ static inline void nfs_mark_for_revalidate(struct inode *inode) spin_lock(&inode->i_lock); nfsi->cache_validity |= NFS_INO_INVALID_ATTR|NFS_INO_INVALID_ACCESS; - if (S_ISDIR(inode->i_mode)) { + if (S_ISDIR(inode->i_mode)) nfsi->cache_validity |= NFS_INO_REVAL_PAGECACHE|NFS_INO_INVALID_DATA; - nfsi->cache_change_attribute = jiffies; - } spin_unlock(&inode->i_lock); }