Commit 1c6c3fad81787e8cb4c85ddfd573b0d8442fe630

Authored by Kirill A. Shutemov
Committed by Tejun Heo
1 parent 892a2b90ba

cgroup: mark cgroup_rmdir_waitq and cgroup_attach_proc() as static

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Acked-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -938,7 +938,7 @@
938 938 *
939 939 * CGRP_WAIT_ON_RMDIR flag is set under cgroup's inode->i_mutex;
940 940 */
941   -DECLARE_WAIT_QUEUE_HEAD(cgroup_rmdir_waitq);
  941 +static DECLARE_WAIT_QUEUE_HEAD(cgroup_rmdir_waitq);
942 942  
943 943 static void cgroup_wakeup_rmdir_waiter(struct cgroup *cgrp)
944 944 {
... ... @@ -2065,7 +2065,7 @@
2065 2065 * Call holding cgroup_mutex and the group_rwsem of the leader. Will take
2066 2066 * task_lock of each thread in leader's threadgroup individually in turn.
2067 2067 */
2068   -int cgroup_attach_proc(struct cgroup *cgrp, struct task_struct *leader)
  2068 +static int cgroup_attach_proc(struct cgroup *cgrp, struct task_struct *leader)
2069 2069 {
2070 2070 int retval, i, group_size;
2071 2071 struct cgroup_subsys *ss, *failed_ss = NULL;