fs: port ->set_acl() to pass mnt_idmap
[linux-block.git] / fs / ceph / inode.c
index fcc84cc1d8f185c2afd1a05abcd62f8518d14238..d9ae943423afc8b6abe3ebe1cd65f9bed9236c3f 100644 (file)
@@ -2255,7 +2255,7 @@ int ceph_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
        err = __ceph_setattr(inode, attr);
 
        if (err >= 0 && (attr->ia_valid & ATTR_MODE))
-               err = posix_acl_chmod(&init_user_ns, dentry, attr->ia_mode);
+               err = posix_acl_chmod(&nop_mnt_idmap, dentry, attr->ia_mode);
 
        return err;
 }