Merge branch 'for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu into for-3.11
This is to receive percpu_refcount which will replace atomic_t reference count in cgroup_subsys_state. Signed-off-by: Tejun Heo <tj@kernel.org>
Tento commit je obsažen v:
@@ -1688,11 +1688,14 @@ static struct dentry *cgroup_mount(struct file_system_type *fs_type,
|
||||
*/
|
||||
cgroup_free_root(opts.new_root);
|
||||
|
||||
if (((root->flags | opts.flags) & CGRP_ROOT_SANE_BEHAVIOR) &&
|
||||
root->flags != opts.flags) {
|
||||
pr_err("cgroup: sane_behavior: new mount options should match the existing superblock\n");
|
||||
ret = -EINVAL;
|
||||
goto drop_new_super;
|
||||
if (root->flags != opts.flags) {
|
||||
if ((root->flags | opts.flags) & CGRP_ROOT_SANE_BEHAVIOR) {
|
||||
pr_err("cgroup: sane_behavior: new mount options should match the existing superblock\n");
|
||||
ret = -EINVAL;
|
||||
goto drop_new_super;
|
||||
} else {
|
||||
pr_warning("cgroup: new mount options do not match the existing superblock, will be ignored\n");
|
||||
}
|
||||
}
|
||||
|
||||
/* no subsys rebinding, so refcounts don't change */
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele