summaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo2014-02-12 15:29:48 +0100
committerTejun Heo2014-02-12 15:29:48 +0100
commit86bf4b68759141459864ebd36ac3038a9cda895b (patch)
tree81c1bfe990c4752f5056c9df02258391fc9ca464 /include/linux/cgroup.h
parentcgroup: convert to kernfs (diff)
downloadkernel-qcow2-linux-86bf4b68759141459864ebd36ac3038a9cda895b.tar.gz
kernel-qcow2-linux-86bf4b68759141459864ebd36ac3038a9cda895b.tar.xz
kernel-qcow2-linux-86bf4b68759141459864ebd36ac3038a9cda895b.zip
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 <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r--include/linux/cgroup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 0e45a932b823..305e94ee17f5 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -264,6 +264,8 @@ enum {
* - "release_agent" and "notify_on_release" are removed.
* Replacement notification mechanism will be implemented.
*
+ * - "xattr" mount option is deprecated. kernfs always enables it.
+ *
* - cpuset: tasks will be kept in empty cpusets when hotplug happens
* and take masks of ancestors with non-empty cpus/mems, instead of
* being moved to an ancestor.