Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f38211100d4823be530577dc3452f838861222ec
Commit:     f38211100d4823be530577dc3452f838861222ec
Parent:     7668fdbe9aaeab705d1169ac86d0d18a12906d06
Author:     Trond Myklebust <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 1 10:00:23 2007 -0400
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 17:19:40 2007 -0400

    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 <[EMAIL PROTECTED]>
---
 include/linux/nfs_fs.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 0197b12..35d6192 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);
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to