From: Paul Menage Date: Fri, 25 Jul 2008 08:47:03 +0000 (-0700) Subject: cgroup files: convert devcgroup_access_write() into a cgroup write_string() handler X-Git-Tag: v2.6.27-rc1~383 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f92523e3a7861f5dbd76021e0719a35fe8771f2d;p=pandora-kernel.git cgroup files: convert devcgroup_access_write() into a cgroup write_string() handler This patch converts devcgroup_access_write() from a raw file handler into a handler for the cgroup write_string() method. This allows some boilerplate copying/locking/checking to be removed and simplifies the cleanup path, since these functions are performed by the cgroups framework before calling the handler. Signed-off-by: Paul Menage Cc: Paul Jackson Cc: Pavel Emelyanov Cc: Balbir Singh Acked-by: Serge Hallyn Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed