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:
59a707b
)
NFS: Ensure we revalidate the inode correctly after setacl
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Sun, 8 Apr 2018 22:14:43 +0000
(18:14 -0400)
committer
Trond Myklebust
<trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:02:16 +0000
(15:02 -0400)
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index d21c5e4220a02c06831d448c66bb2b78804cb4c7..36e36f176c75db3b6638a09cf9d6f49b31e7f64c 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-5391,7
+5391,8
@@
static int __nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t bufl
*/
spin_lock(&inode->i_lock);
NFS_I(inode)->cache_validity |= NFS_INO_INVALID_CHANGE
- | NFS_INO_INVALID_CTIME;
+ | NFS_INO_INVALID_CTIME
+ | NFS_INO_REVAL_FORCED;
spin_unlock(&inode->i_lock);
nfs_access_zap_cache(inode);
nfs_zap_acl_cache(inode);