From: Christian Brauner Date: Fri, 1 Oct 2021 08:12:17 +0000 (+0200) Subject: syscall_wrappers: fix core scheduling creation helper naming X-Git-Tag: lxc-5.0.0~79^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47bfecf5103bd28ef0e985f533e55c4c84f804d1;p=thirdparty%2Flxc.git syscall_wrappers: fix core scheduling creation helper naming Signed-off-by: Christian Brauner --- diff --git a/src/lxc/start.c b/src/lxc/start.c index 13f3d9187..fcfdb226c 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -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"); diff --git a/src/lxc/syscall_wrappers.h b/src/lxc/syscall_wrappers.h index df0f2db94..4a9dda83d 100644 --- a/src/lxc/syscall_wrappers.h +++ b/src/lxc/syscall_wrappers.h @@ -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;