]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - fs/jffs2/acl.c
fs: port acl to mnt_idmap
[thirdparty/linux.git] / fs / jffs2 / acl.c
index 672eaf51a66db7eb4e37d9da2843184b44a7c430..888a7ceb64796dcb11655314a11aa5bc33309761 100644 (file)
@@ -241,7 +241,7 @@ int jffs2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
                if (acl) {
                        umode_t mode;
 
-                       rc = posix_acl_update_mode(&init_user_ns, inode, &mode,
+                       rc = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode,
                                                   &acl);
                        if (rc)
                                return rc;