ctx->subsys_mask |= (1 << i);
                        return 0;
                }
-               return invalf(fc, "cgroup1: Unknown subsys name '%s'", param->key);
+               return invalfc(fc, "Unknown subsys name '%s'", param->key);
        }
        if (opt < 0)
                return opt;
        case Opt_release_agent:
                /* Specifying two release agents is forbidden */
                if (ctx->release_agent)
-                       return invalf(fc, "cgroup1: release_agent respecified");
+                       return invalfc(fc, "release_agent respecified");
                ctx->release_agent = param->string;
                param->string = NULL;
                break;
                        return -ENOENT;
                /* Can't specify an empty name */
                if (!param->size)
-                       return invalf(fc, "cgroup1: Empty name");
+                       return invalfc(fc, "Empty name");
                if (param->size > MAX_CGROUP_ROOT_NAMELEN - 1)
-                       return invalf(fc, "cgroup1: Name too long");
+                       return invalfc(fc, "Name too long");
                /* Must match [\w.-]+ */
                for (i = 0; i < param->size; i++) {
                        char c = param->string[i];
                                continue;
                        if ((c == '.') || (c == '-') || (c == '_'))
                                continue;
-                       return invalf(fc, "cgroup1: Invalid name");
+                       return invalfc(fc, "Invalid name");
                }
                /* Specifying two names is forbidden */
                if (ctx->name)
-                       return invalf(fc, "cgroup1: name respecified");
+                       return invalfc(fc, "name respecified");
                ctx->name = param->string;
                param->string = NULL;
                break;
        if (ctx->all_ss) {
                /* Mutually exclusive option 'all' + subsystem name */
                if (ctx->subsys_mask)
-                       return invalf(fc, "cgroup1: subsys name conflicts with all");
+                       return invalfc(fc, "subsys name conflicts with all");
                /* 'all' => select all the subsystems */
                ctx->subsys_mask = enabled;
        }
         * empty hierarchies must have a name).
         */
        if (!ctx->subsys_mask && !ctx->name)
-               return invalf(fc, "cgroup1: Need name or subsystem set");
+               return invalfc(fc, "Need name or subsystem set");
 
        /*
         * Option noprefix was introduced just for backward compatibility
         * the cpuset subsystem.
         */
        if ((ctx->flags & CGRP_ROOT_NOPREFIX) && (ctx->subsys_mask & mask))
-               return invalf(fc, "cgroup1: noprefix used incorrectly");
+               return invalfc(fc, "noprefix used incorrectly");
 
        /* Can't specify "none" and some subsystems */
        if (ctx->subsys_mask && ctx->none)
-               return invalf(fc, "cgroup1: none used incorrectly");
+               return invalfc(fc, "none used incorrectly");
 
        return 0;
 }
        /* Don't allow flags or name to change at remount */
        if ((ctx->flags ^ root->flags) ||
            (ctx->name && strcmp(ctx->name, root->name))) {
-               errorf(fc, "option or name mismatch, new: 0x%x \"%s\", old: 0x%x \"%s\"",
+               errorfc(fc, "option or name mismatch, new: 0x%x \"%s\", old: 0x%x \"%s\"",
                       ctx->flags, ctx->name ?: "", root->flags, root->name);
                ret = -EINVAL;
                goto out_unlock;
         * can't create new one without subsys specification.
         */
        if (!ctx->subsys_mask && !ctx->none)
-               return invalf(fc, "cgroup1: No subsys list or none specified");
+               return invalfc(fc, "No subsys list or none specified");
 
        /* Hierarchies may only be created in the initial cgroup namespace. */
        if (ctx->ns != &init_cgroup_ns)