git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d427dfe
)
cgroup: update cgroup name handling
author
Tejun Heo
<tj@kernel.org>
Tue, 11 Feb 2014 16:52:48 +0000
(11:52 -0500)
committer
Tejun Heo
<tj@kernel.org>
Tue, 11 Feb 2014 16:52:48 +0000
(11:52 -0500)
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>
kernel/cgroup.c
patch
|
blob
|
history
diff --cc
kernel/cgroup.c
Simple merge