diff options
| author | 2014-02-11 11:52:48 -0500 | |
|---|---|---|
| committer | 2014-02-11 11:52:48 -0500 | |
| commit | 8d7e6fb0a1db970ac3589f87af0f2a20ef46654b (patch) | |
| tree | f6b10b105575da92908db304722450511e9cdf23 /include | |
| parent | cgroup: factor out cgroup_setup_root() from cgroup_mount() (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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
