提交 1c6c3fad 编写于 作者: K Kirill A. Shutemov 提交者: Tejun Heo

cgroup: mark cgroup_rmdir_waitq and cgroup_attach_proc() as static

Signed-off-by: NKirill A. Shutemov <kirill@shutemov.name>
Acked-by: NLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 892a2b90
...@@ -938,7 +938,7 @@ static void cgroup_d_remove_dir(struct dentry *dentry) ...@@ -938,7 +938,7 @@ static void cgroup_d_remove_dir(struct dentry *dentry)
* *
* CGRP_WAIT_ON_RMDIR flag is set under cgroup's inode->i_mutex; * CGRP_WAIT_ON_RMDIR flag is set under cgroup's inode->i_mutex;
*/ */
DECLARE_WAIT_QUEUE_HEAD(cgroup_rmdir_waitq); static DECLARE_WAIT_QUEUE_HEAD(cgroup_rmdir_waitq);
static void cgroup_wakeup_rmdir_waiter(struct cgroup *cgrp) static void cgroup_wakeup_rmdir_waiter(struct cgroup *cgrp)
{ {
...@@ -2065,7 +2065,7 @@ static int css_set_prefetch(struct cgroup *cgrp, struct css_set *cg, ...@@ -2065,7 +2065,7 @@ static int css_set_prefetch(struct cgroup *cgrp, struct css_set *cg,
* Call holding cgroup_mutex and the group_rwsem of the leader. Will take * Call holding cgroup_mutex and the group_rwsem of the leader. Will take
* task_lock of each thread in leader's threadgroup individually in turn. * task_lock of each thread in leader's threadgroup individually in turn.
*/ */
int cgroup_attach_proc(struct cgroup *cgrp, struct task_struct *leader) static int cgroup_attach_proc(struct cgroup *cgrp, struct task_struct *leader)
{ {
int retval, i, group_size; int retval, i, group_size;
struct cgroup_subsys *ss, *failed_ss = NULL; struct cgroup_subsys *ss, *failed_ss = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册