2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 20:30:26 +00:00

syscall_wrappers: fix core scheduling creation helper naming

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2021-10-01 10:12:17 +02:00
parent 15e9cc882f
commit 47bfecf510
2 changed files with 2 additions and 2 deletions

View 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");

View 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;