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
34375fd7
Commit
34375fd7
authored
Nov 13, 2020
by
lifeng68
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cgfsng: adjust log level to warn instead of error
Signed-off-by:
lifeng68
<
lifeng68@huawei.com
>
parent
74294d76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cgfsng.c
src/lxc/cgroups/cgfsng.c
+3
-3
No files found.
src/lxc/cgroups/cgfsng.c
View file @
34375fd7
...
...
@@ -654,7 +654,7 @@ static char **cg_hybrid_get_controllers(char **klist, char **nlist, char *line,
* verify /sys/fs/cgroup/ in this field.
*/
if
(
strncmp
(
p
,
DEFAULT_CGROUP_MOUNTPOINT
"/"
,
15
)
!=
0
)
return
log_
error
(
NULL
,
"Found hierarchy not under "
DEFAULT_CGROUP_MOUNTPOINT
":
\"
%s
\"
"
,
p
);
return
log_
warn
(
NULL
,
"Found hierarchy not under "
DEFAULT_CGROUP_MOUNTPOINT
":
\"
%s
\"
"
,
p
);
p
+=
15
;
p2
=
strchr
(
p
,
' '
);
...
...
@@ -3239,7 +3239,7 @@ static int cg_hybrid_init(struct cgroup_ops *ops, bool relative, bool unprivileg
mountpoint
=
cg_hybrid_get_mountpoint
(
line
);
if
(
!
mountpoint
)
{
ERROR
(
"Failed parsing mountpoint from
\"
%s
\"
"
,
line
);
WARN
(
"Failed parsing mountpoint from
\"
%s
\"
"
,
line
);
continue
;
}
...
...
@@ -3248,7 +3248,7 @@ static int cg_hybrid_init(struct cgroup_ops *ops, bool relative, bool unprivileg
else
base_cgroup
=
cg_hybrid_get_current_cgroup
(
basecginfo
,
NULL
,
CGROUP2_SUPER_MAGIC
);
if
(
!
base_cgroup
)
{
ERROR
(
"Failed to find current cgroup"
);
WARN
(
"Failed to find current cgroup"
);
continue
;
}
...
...
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