]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
syscall_wrappers: fix core scheduling creation helper naming
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Oct 2021 08:12:17 +0000 (10:12 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Oct 2021 08:12:17 +0000 (10:12 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c
src/lxc/syscall_wrappers.h

index 13f3d91872d3f81162e29f652cc11879707677a4..fcfdb226c173819e50e24b1ed0e90b5bb5b4ed09 100644 (file)
@@ -1564,7 +1564,7 @@ static int core_scheduling(struct lxc_handler *handler)
        if (!(handler->ns_clone_flags & CLONE_NEWPID))
                return syserror_set(-EINVAL, "Core scheduling currently requires a separate pid namespace");
 
-       ret = core_scheduling_cookie_create_thread(handler->pid);
+       ret = core_scheduling_cookie_create_threadgroup(handler->pid);
        if (ret < 0) {
                if (ret == -EINVAL)
                        return sysinfo("The kernel does not support core scheduling");
index df0f2db949050ad144d38cb9205306e7bb669e88..4a9dda83d1f5409e7ce6f3e263e76facd0ba8657 100644 (file)
@@ -380,7 +380,7 @@ static inline __u64 core_scheduling_cookie_get(pid_t pid)
        return cookie;
 }
 
-static inline int core_scheduling_cookie_create_thread(pid_t pid)
+static inline int core_scheduling_cookie_create_threadgroup(pid_t pid)
 {
        int ret;