acl: handle idmapped mounts
[linux-2.6-block.git] / fs / f2fs / acl.c
index 1e5e9b1136ee1c37c460578e364eac49e8c8f02d..6a95bf28f60210ea00974c8f0f6ed5f09f513f01 100644 (file)
@@ -213,7 +213,8 @@ static int __f2fs_set_acl(struct inode *inode, int type,
        case ACL_TYPE_ACCESS:
                name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS;
                if (acl && !ipage) {
-                       error = posix_acl_update_mode(inode, &mode, &acl);
+                       error = posix_acl_update_mode(&init_user_ns, inode,
+                                                     &mode, &acl);
                        if (error)
                                return error;
                        set_acl_inode(inode, mode);