From: Paul Menage Date: Fri, 25 Jul 2008 08:47:01 +0000 (-0700) Subject: cgroup files: turn attach_task_by_pid directly into a cgroup write handler X-Git-Tag: v2.6.27-rc1~385 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af351026aafc8da16518a02b41c66d3e0c1cdef4;p=pandora-kernel.git cgroup files: turn attach_task_by_pid directly into a cgroup write handler This patch changes attach_task_by_pid() to take a u64 rather than a string; as a result it can be called directly as a control groups write_u64 handler, and cgroup_common_file_write() can be removed. Signed-off-by: Paul Menage Cc: Paul Jackson Cc: Pavel Emelyanov Cc: Balbir Singh Cc: Serge Hallyn Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed