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:
@@ -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");
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user