mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 16:46:21 +00:00
start: use core scheduling error helper
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
565b6e92d3
commit
f18a595926
@ -1573,7 +1573,7 @@ static int core_scheduling(struct lxc_handler *handler)
|
||||
}
|
||||
|
||||
conf->sched_core_cookie = core_scheduling_cookie_get(handler->pid);
|
||||
if (conf->sched_core_cookie == INVALID_SCHED_CORE_COOKIE)
|
||||
if (!core_scheduling_cookie_valid(conf->sched_core_cookie))
|
||||
return syserror("Failed to retrieve core scheduling domain cookie");
|
||||
|
||||
TRACE("Created new core scheduling domain with cookie %llu",
|
||||
|
Loading…
Reference in New Issue
Block a user