diff options
author | 2008-07-25 01:47:00 -0700 | |
---|---|---|
committer | 2008-07-25 10:53:35 -0700 | |
commit | 84eea842886ac35020be6043e04748ed22014359 (patch) | |
tree | acd2bb7c3bc267a032b5e637c598708f38c68cb3 /include/linux/init_task.h | |
parent | cgroup files: move the release_agent file to use typed handlers (diff) | |
download | linux-dev-84eea842886ac35020be6043e04748ed22014359.tar.xz linux-dev-84eea842886ac35020be6043e04748ed22014359.zip |
cgroups: misc cleanups to write_string patchset
This patch contains cleanups suggested by reviewers for the recent
write_string() patchset:
- pair cgroup_lock_live_group() with cgroup_unlock() in cgroup.c for
clarity, rather than directly unlocking cgroup_mutex.
- make the return type of cgroup_lock_live_group() a bool
- use a #define'd constant for the local buffer size in read/write functions
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/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions