Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3821110 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: nfs_mark_for_revalidate don't update cache_change_attribute



Just let the subsequent inode revalidation do the update...

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 7668fdbe
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);
}