projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7668fdb
)
NFS: nfs_mark_for_revalidate don't update cache_change_attribute
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 1 Oct 2007 14:00:23 +0000
(10:00 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:19:40 +0000
(17:19 -0400)
Just let the subsequent inode revalidation do the update...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/nfs_fs.h
patch
|
blob
|
history
diff --git
a/include/linux/nfs_fs.h
b/include/linux/nfs_fs.h
index 0197b1243fe0af5ec6d0bfc544312f469242b75d..35d61924e0b9f1fe5dbe4916d8eec740b798e3f8 100644
(file)
--- 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);
}