From d753bc7715e54f961e6ca2c0964db2f8b2ae83f7 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 1 Oct 2021 10:12:17 +0200 Subject: [PATCH] syscall_wrappers: fix core scheduling creation helper naming Signed-off-by: Christian Brauner --- src/lxc/start.c | 2 +- src/lxc/syscall_wrappers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2