diff options
author | Tejun Heo <tj@kernel.org> | 2013-06-29 21:06:10 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-06-29 21:06:10 (GMT) |
commit | c7ba8287cd11f2fc9e2feee9e1fac34b7293658f (patch) | |
tree | 01d95c92da5a5fa321eb487a9716c443cef54e69 /security | |
parent | 0ce6cba35777cf96a54ce0d5856dc962566b8717 (diff) | |
download | linux-c7ba8287cd11f2fc9e2feee9e1fac34b7293658f.tar.xz |
cgroup: CGRP_ROOT_SUBSYS_BOUND should also be ignored when mounting an existing hierarchy
0ce6cba357 ("cgroup: CGRP_ROOT_SUBSYS_BOUND should be ignored when
comparing mount options") only updated the remount path but
CGRP_ROOT_SUBSYS_BOUND should also be ignored when comparing options
while mounting an existing hierarchy. As option mismatch triggers a
warning but doesn't fail the mount without sane_behavior, this only
triggers a spurious warning message.
Fix it by only comparing CGRP_ROOT_OPTION_MASK bits when comparing new
and existing root options.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions