diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-04-09 01:14:43 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-05-31 22:02:16 +0300 |
commit | 472f761e118c233f13cd24b3a872ad3dcfa0b0eb (patch) | |
tree | dc2bfd32e4fff2f177d1bdb01c00af2ea01bc882 | |
parent | 59a707b0d42ecf6326ed3846af629602bdf2ff08 (diff) | |
download | linux-472f761e118c233f13cd24b3a872ad3dcfa0b0eb.tar.xz |
NFS: Ensure we revalidate the inode correctly after setacl
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d21c5e4220a0..36e36f176c75 100644 --- 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); |