cgroup: trivial style updates
authorSeongJae Park <sj38.park@gmail.com>
Sat, 18 Jan 2014 07:56:47 +0000 (16:56 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 18 Jan 2014 13:56:11 +0000 (08:56 -0500)
* 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>
kernel/cgroup.c

index 7030f04f2890219fc428163e10b0056d207a3815..680e2be234c418b5882dfd2ac5d6f16eba5f25c0 100644 (file)
@@ -1669,7 +1669,8 @@ static struct dentry *cgroup_mount(struct file_system_type *fs_type,
        return ERR_PTR(ret);
 }
 
-static void cgroup_kill_sb(struct super_block *sb) {
+static void cgroup_kill_sb(struct super_block *sb)
+{
        struct cgroupfs_root *root = sb->s_fs_info;
        struct cgroup *cgrp = &root->top_cgroup;
        struct cgrp_cset_link *link, *tmp_link;
@@ -2117,7 +2118,7 @@ retry_find_task:
                tsk = find_task_by_vpid(pid);
                if (!tsk) {
                        rcu_read_unlock();
-                       ret= -ESRCH;
+                       ret = -ESRCH;
                        goto out_unlock_cgroup;
                }
                /*