diff options
author | SeongJae Park <sj38.park@gmail.com> | 2014-01-18 02:56:47 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-01-18 08:56:11 -0500 |
commit | dd4b0a4676907481256d16d5de0851b315a6f22c (patch) | |
tree | 4ff93edec198594a3fb414b2e8fcda59e2537983 | |
parent | b3ff8a2f9569fb41b9cf8902897d787a33bac84f (diff) |
cgroup: trivial style updates
* Place newline before function opening brace in cgroup_kill_sb().
* Insert space before assignment in attach_task_by_pid()
tj: merged two patches into one.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | kernel/cgroup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 7030f04f2890..680e2be234c4 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -1669,7 +1669,8 @@ static struct dentry *cgroup_mount(struct file_system_type *fs_type, | |||
1669 | return ERR_PTR(ret); | 1669 | return ERR_PTR(ret); |
1670 | } | 1670 | } |
1671 | 1671 | ||
1672 | static void cgroup_kill_sb(struct super_block *sb) { | 1672 | static void cgroup_kill_sb(struct super_block *sb) |
1673 | { | ||
1673 | struct cgroupfs_root *root = sb->s_fs_info; | 1674 | struct cgroupfs_root *root = sb->s_fs_info; |
1674 | struct cgroup *cgrp = &root->top_cgroup; | 1675 | struct cgroup *cgrp = &root->top_cgroup; |
1675 | struct cgrp_cset_link *link, *tmp_link; | 1676 | struct cgrp_cset_link *link, *tmp_link; |
@@ -2117,7 +2118,7 @@ retry_find_task: | |||
2117 | tsk = find_task_by_vpid(pid); | 2118 | tsk = find_task_by_vpid(pid); |
2118 | if (!tsk) { | 2119 | if (!tsk) { |
2119 | rcu_read_unlock(); | 2120 | rcu_read_unlock(); |
2120 | ret= -ESRCH; | 2121 | ret = -ESRCH; |
2121 | goto out_unlock_cgroup; | 2122 | goto out_unlock_cgroup; |
2122 | } | 2123 | } |
2123 | /* | 2124 | /* |