summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Menage <menage@google.com>2008-07-25 08:47:03 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 17:53:36 (GMT)
commitf92523e3a7861f5dbd76021e0719a35fe8771f2d (patch)
tree933c9e6e1f0683ac1c6bc019da5b91c9e567bf7c /include
parente37123953292146445c8629b3950d0513fd10ae2 (diff)
downloadlinux-f92523e3a7861f5dbd76021e0719a35fe8771f2d.tar.xz
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 <menage@google.com> Cc: Paul Jackson <pj@sgi.com> Cc: Pavel Emelyanov <xemul@openvz.org> Cc: Balbir Singh <balbir@in.ibm.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions