mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
cgroup: warn if "xattr" is specified with "sane_behavior"
Mount option "xattr" is no longer necessary as it's enabled by default on kernfs. Warn if "xattr" is specified with "sane_behavior" so that the option can be removed in the future. Signed-off-by: Tejun Heo <[email protected]> Acked-by: Li Zefan <[email protected]>
This commit is contained in:
parent
2bd59d48eb
commit
86bf4b6875
2 changed files with 5 additions and 0 deletions
|
|
@ -1267,6 +1267,9 @@ static int parse_cgroupfs_options(char *data, struct cgroup_sb_opts *opts)
|
|||
pr_err("cgroup: sane_behavior: clone_children is not allowed\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (opts->flags & CGRP_ROOT_XATTR)
|
||||
pr_warning("cgroup: sane_behavior: xattr is always available, flag unnecessary\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue