Message ID | 20220104140414.155198-11-brauner@kernel.org |
---|---|
State | New |
Headers | show |
Series | ceph: support idmapped mounts | expand |
diff --git a/fs/ceph/acl.c b/fs/ceph/acl.c index f4fc8e0b847c..7957d44bb27c 100644 --- a/fs/ceph/acl.c +++ b/fs/ceph/acl.c @@ -104,7 +104,7 @@ int ceph_set_acl(struct user_namespace *mnt_userns, struct inode *inode, case ACL_TYPE_ACCESS: name = XATTR_NAME_POSIX_ACL_ACCESS; if (acl) { - ret = posix_acl_update_mode(&init_user_ns, inode, + ret = posix_acl_update_mode(mnt_userns, inode, &new_mode, &acl); if (ret) goto out;