From: Tejun Heo Date: Thu, 5 Dec 2013 17:28:03 +0000 (-0500) Subject: cgroup: unify cgroup_write_X64() and cgroup_write_string() X-Git-Tag: v3.14-rc1~136^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a742c59de66ea080afa3edaf3428b3cdd5aa87cd;p=pandora-kernel.git 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 Acked-by: Li Zefan --- Reading git-diff-tree failed