diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-12-06 14:38:57 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 09:18:49 -0800 |
commit | 5778e9e966423d834a01de616f29c6bf834c0d8a (patch) | |
tree | ea6ac3a193d07d2699ff075fd7e7b8de80f7a003 /mm | |
parent | d36994375807d655612b0a3f3967e8039bb41100 (diff) |
cgroup_rm_file: don't delete the uncreated files
commit f33fddc2b9573d8359f1007d4bbe5cd587a0c093 upstream.
in cgroup_add_file,when creating files for cgroup,
some of creation may be skipped. So we need to avoid
deleting these uncreated files in cgroup_rm_file,
otherwise the warning msg will be triggered.
"cgroup_addrm_files: failed to remove memory_pressure_enabled, err=-2"
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Acked-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions