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
46340ce2
Unverified
Commit
46340ce2
authored
Mar 30, 2020
by
Christian Brauner
Committed by
Stéphane Graber
Apr 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start: remove unnecessary check for valid cgroup_ops
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
179e2bf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
start.c
src/lxc/start.c
+2
-4
No files found.
src/lxc/start.c
View file @
46340ce2
...
@@ -933,10 +933,8 @@ void lxc_end(struct lxc_handler *handler)
...
@@ -933,10 +933,8 @@ void lxc_end(struct lxc_handler *handler)
lsm_process_cleanup
(
handler
->
conf
,
handler
->
lxcpath
);
lsm_process_cleanup
(
handler
->
conf
,
handler
->
lxcpath
);
if
(
cgroup_ops
)
{
cgroup_ops
->
payload_destroy
(
cgroup_ops
,
handler
);
cgroup_ops
->
payload_destroy
(
cgroup_ops
,
handler
);
cgroup_ops
->
monitor_destroy
(
cgroup_ops
,
handler
);
cgroup_ops
->
monitor_destroy
(
cgroup_ops
,
handler
);
}
if
(
handler
->
conf
->
reboot
==
REBOOT_NONE
)
{
if
(
handler
->
conf
->
reboot
==
REBOOT_NONE
)
{
/* For all new state clients simply close the command socket.
/* For all new state clients simply close the command socket.
...
...
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