diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 5a2fcf5bcc4a..e5583d10a325 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -1703,7 +1703,7 @@ static struct dentry *cgroup_mount(struct file_system_type *fs_type, | |||
1703 | */ | 1703 | */ |
1704 | cgroup_free_root(opts.new_root); | 1704 | cgroup_free_root(opts.new_root); |
1705 | 1705 | ||
1706 | if (root->flags != opts.flags) { | 1706 | if ((root->flags ^ opts.flags) & CGRP_ROOT_OPTION_MASK) { |
1707 | if ((root->flags | opts.flags) & CGRP_ROOT_SANE_BEHAVIOR) { | 1707 | if ((root->flags | opts.flags) & CGRP_ROOT_SANE_BEHAVIOR) { |
1708 | pr_err("cgroup: sane_behavior: new mount options should match the existing superblock\n"); | 1708 | pr_err("cgroup: sane_behavior: new mount options should match the existing superblock\n"); |
1709 | ret = -EINVAL; | 1709 | ret = -EINVAL; |