Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
e650b99a
Unverified
Commit
e650b99a
authored
Dec 08, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cgroups/cgfsng: rework cgfsng_unfreeze()
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
1d0ef851
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
cgfsng.c
src/lxc/cgroups/cgfsng.c
+8
-7
No files found.
src/lxc/cgroups/cgfsng.c
View file @
e650b99a
...
...
@@ -2176,18 +2176,19 @@ __cgfsng_ops static int cgfsng_unfreeze(struct cgroup_ops *ops, int timeout)
}
__cgfsng_ops
static
const
char
*
cgfsng_get_cgroup
(
struct
cgroup_ops
*
ops
,
const
char
*
controller
)
const
char
*
controller
)
{
struct
hierarchy
*
h
;
h
=
get_hierarchy
(
ops
,
controller
);
if
(
!
h
)
{
WARN
(
"Failed to find hierarchy for controller
\"
%s
\"
"
,
controller
?
controller
:
"(null)"
);
return
NULL
;
}
if
(
!
h
)
return
log_warn_errno
(
NULL
,
ENOENT
,
"Failed to find hierarchy for controller
\"
%s
\"
"
,
controller
?
controller
:
"(null)"
);
return
h
->
container_full_path
?
h
->
container_full_path
+
strlen
(
h
->
mountpoint
)
:
NULL
;
return
h
->
container_full_path
?
h
->
container_full_path
+
strlen
(
h
->
mountpoint
)
:
NULL
;
}
/* Given a cgroup path returned from lxc_cmd_get_cgroup_path, build a full path,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment