diff options
author | Tejun Heo <tj@kernel.org> | 2013-12-05 12:28:03 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-12-05 12:28:03 -0500 |
commit | a742c59de66ea080afa3edaf3428b3cdd5aa87cd (patch) | |
tree | 62611be278e8727cd24f86c07f245b949d2f6a6d /kernel/Kconfig.freezer | |
parent | 6e0755b08dd6a3b5260fafc6969268c2ba261300 (diff) | |
download | op-kernel-dev-a742c59de66ea080afa3edaf3428b3cdd5aa87cd.zip op-kernel-dev-a742c59de66ea080afa3edaf3428b3cdd5aa87cd.tar.gz |
cgroup: unify cgroup_write_X64() and cgroup_write_string()
cgroup_write_X64() and cgroup_write_string() both implement about the
same buffering logic. Unify the two into cgroup_file_write() which
always allocates dynamic buffer for simplicity and uses kstrto*()
instead of simple_strto*().
This patch doesn't make any visible behavior changes except for
possibly different error value from kstrsto*().
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions