fs: port acl to mnt_idmap
[sfrench/cifs-2.6.git] / fs / jfs / acl.c
index 25b78dd8209942a4cd87e4225aaebf21f5227d9f..fb96f872d2071f289512a816bb89b07ecfc85385 100644 (file)
@@ -106,7 +106,7 @@ int jfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
        tid = txBegin(inode->i_sb, 0);
        mutex_lock(&JFS_IP(inode)->commit_mutex);
        if (type == ACL_TYPE_ACCESS && acl) {
-               rc = posix_acl_update_mode(&init_user_ns, inode, &mode, &acl);
+               rc = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, &acl);
                if (rc)
                        goto end_tx;
                if (mode != inode->i_mode)