]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ceph/caps.c
ceph: add acl for cephfs
[mirror_ubuntu-bionic-kernel.git] / fs / ceph / caps.c
index 3c0a4bd7499645ca8bf90fd1a6ba16f6831c164c..9289c6b2f1bb1acc1a3bd8d42436ee4215186f72 100644 (file)
@@ -2464,6 +2464,7 @@ static void handle_cap_grant(struct inode *inode, struct ceph_mds_caps *grant,
                                ceph_buffer_put(ci->i_xattrs.blob);
                        ci->i_xattrs.blob = ceph_buffer_get(xattr_buf);
                        ci->i_xattrs.version = version;
+                       ceph_forget_all_cached_acls(inode);
                }
        }