commit | 8d7e6fb0a1db970ac3589f87af0f2a20ef46654b | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Feb 11 11:52:48 2014 -0500 |
committer | Tejun Heo <tj@kernel.org> | Tue Feb 11 11:52:48 2014 -0500 |
tree | f6b10b105575da92908db304722450511e9cdf23 | |
parent | d427dfeb120b92c0c5e2ca9d1ec6952de67ebad9 [diff] |
cgroup: update cgroup name handling Straightforward updates to cgroup name handling in preparation of kernfs conversion. * cgroup_alloc_name() is updated to take const char * isntead of dentry * for name source. * cgroup name formatting is separated out into cgroup_file_name(). While at it, buffer length protection is added. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>