diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-04-09 00:14:43 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-05-31 21:02:16 +0200 |
commit | 472f761e118c233f13cd24b3a872ad3dcfa0b0eb (patch) | |
tree | dc2bfd32e4fff2f177d1bdb01c00af2ea01bc882 /fs/nfs/nfs4proc.c | |
parent | NFS: Ensure we revalidate the inode correctly after remove or rename (diff) | |
download | linux-472f761e118c233f13cd24b3a872ad3dcfa0b0eb.tar.xz linux-472f761e118c233f13cd24b3a872ad3dcfa0b0eb.zip |
NFS: Ensure we revalidate the inode correctly after setacl
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-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); |