fs: port ->set_acl() to pass mnt_idmap
[linux-block.git] / fs / ext4 / inode.c
index d60eab65319d9342c2f561dc2f62bd89f7d17f57..3aae0be8c91e59d7d3f773cb0c0e281e8ded03d4 100644 (file)
@@ -5643,7 +5643,7 @@ out_mmap_sem:
                ext4_orphan_del(NULL, inode);
 
        if (!error && (ia_valid & ATTR_MODE))
-               rc = posix_acl_chmod(mnt_userns, dentry, inode->i_mode);
+               rc = posix_acl_chmod(idmap, dentry, inode->i_mode);
 
 err_out:
        if  (error)