mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-08 10:21:55 +00:00
cgfsng: controller_in_clist()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
f523291e3e
commit
bced39de18
@ -1012,10 +1012,8 @@ static char *copy_to_eol(char *p)
|
|||||||
return sret;
|
return sret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* cgline: pointer to character after the first ':' in a line in a \n-terminated
|
||||||
* cgline: pointer to character after the first ':' in a line in a
|
* /proc/self/cgroup file. Check whether controller c is present.
|
||||||
* \n-terminated /proc/self/cgroup file. Check whether * controller c is
|
|
||||||
* present.
|
|
||||||
*/
|
*/
|
||||||
static bool controller_in_clist(char *cgline, char *c)
|
static bool controller_in_clist(char *cgline, char *c)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user