From: Trond Myklebust Date: Sun, 8 Apr 2018 22:14:43 +0000 (-0400) Subject: NFS: Ensure we revalidate the inode correctly after setacl X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=472f761e118c233f13cd24b3a872ad3dcfa0b0eb;p=linux.git NFS: Ensure we revalidate the inode correctly after setacl Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d21c5e4220a02..36e36f176c75d 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);