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
94ce9fb8
Unverified
Commit
94ce9fb8
authored
Mar 02, 2021
by
Christian Brauner
Committed by
GitHub
Mar 02, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3704 from tych0/drop-empty-cgroup-check
cgroup: do not fail if there are no writable heirarchies
parents
b49f36bc
1ecac3bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
cgroup.c
src/lxc/cgroups/cgroup.c
+0
-5
No files found.
src/lxc/cgroups/cgroup.c
View file @
94ce9fb8
...
@@ -34,11 +34,6 @@ struct cgroup_ops *cgroup_init(struct lxc_conf *conf)
...
@@ -34,11 +34,6 @@ struct cgroup_ops *cgroup_init(struct lxc_conf *conf)
if
(
!
cgroup_ops
)
if
(
!
cgroup_ops
)
return
log_error_errno
(
NULL
,
errno
,
"Failed to initialize cgroup driver"
);
return
log_error_errno
(
NULL
,
errno
,
"Failed to initialize cgroup driver"
);
if
(
!
cgroup_ops
->
hierarchies
)
{
cgroup_exit
(
cgroup_ops
);
return
log_error_errno
(
NULL
,
ENOENT
,
"No cgroup hierarchies found"
);
}
if
(
cgroup_ops
->
data_init
(
cgroup_ops
))
{
if
(
cgroup_ops
->
data_init
(
cgroup_ops
))
{
cgroup_exit
(
cgroup_ops
);
cgroup_exit
(
cgroup_ops
);
return
log_error_errno
(
NULL
,
errno
,
"Failed to initialize cgroup data"
);
return
log_error_errno
(
NULL
,
errno
,
"Failed to initialize cgroup data"
);
...
...
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