cgroup: remove useless argument from cgroup_exit()
Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
e8604cb436
commit
1ec41830e0
3 changed files with 5 additions and 6 deletions
|
@ -33,7 +33,7 @@ extern int cgroup_init_early(void);
|
|||
extern int cgroup_init(void);
|
||||
extern void cgroup_fork(struct task_struct *p);
|
||||
extern void cgroup_post_fork(struct task_struct *p);
|
||||
extern void cgroup_exit(struct task_struct *p, int run_callbacks);
|
||||
extern void cgroup_exit(struct task_struct *p);
|
||||
extern int cgroupstats_build(struct cgroupstats *stats,
|
||||
struct dentry *dentry);
|
||||
|
||||
|
@ -843,7 +843,7 @@ static inline int cgroup_init_early(void) { return 0; }
|
|||
static inline int cgroup_init(void) { return 0; }
|
||||
static inline void cgroup_fork(struct task_struct *p) {}
|
||||
static inline void cgroup_post_fork(struct task_struct *p) {}
|
||||
static inline void cgroup_exit(struct task_struct *p, int callbacks) {}
|
||||
static inline void cgroup_exit(struct task_struct *p) {}
|
||||
|
||||
static inline int cgroupstats_build(struct cgroupstats *stats,
|
||||
struct dentry *dentry)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue