projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c6aeb
)
NFS: Fix cache consistency regression
author
Steve Dickson
<steved@redhat.com>
Wed, 30 Nov 2005 14:25:33 +0000
(09:25 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 3 Dec 2005 20:20:03 +0000
(15:20 -0500)
Make sure cache_change_attribute is initialized to jiffies
so when the mtime changes on directory, the directory
will be refreshed.
Signed-off by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index aaab1a5ac4616e1e0d2242c405494382d429a2b4..b551b19aa6e7b0dfbc268335e38a64156455324f 100644
(file)
--- a/
fs/nfs/inode.c
+++ b/
fs/nfs/inode.c
@@
-2066,6
+2066,7
@@
static struct inode *nfs_alloc_inode(struct super_block *sb)
return NULL;
nfsi->flags = 0UL;
nfsi->cache_validity = 0UL;
+ nfsi->cache_change_attribute = jiffies;
#ifdef CONFIG_NFS_V3_ACL
nfsi->acl_access = ERR_PTR(-EAGAIN);
nfsi->acl_default = ERR_PTR(-EAGAIN);