projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx4_core: Fix struct mlx4_vhcr_cmd to make implicit padding explicit
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
cgroup.c
diff --git
a/kernel/cgroup.c
b/kernel/cgroup.c
index bb263d0caab323810f2c30fc3799be467859a7ac..04cfe8ace52088a4c5ed092c389d08fd99117b19 100644
(file)
--- a/
kernel/cgroup.c
+++ b/
kernel/cgroup.c
@@
-1909,7
+1909,7
@@
static void cgroup_kill_sb(struct super_block *sb)
*
* And don't kill the default root.
*/
- if (
css_has_online_children(&root->cgrp.self
) ||
+ if (
!list_empty(&root->cgrp.self.children
) ||
root == &cgrp_dfl_root)
cgroup_put(&root->cgrp);
else