mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
pid namespaces: rename child_reaper() function
Rename the child_reaper() function to task_child_reaper() to be similar to other task_* functions and to distinguish the function from 'struct pid_namspace.child_reaper'. Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com> Cc: Pavel Emelianov <xemul@openvz.org> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Cedric Le Goater <clg@fr.ibm.com> Cc: Dave Hansen <haveblue@us.ibm.com> Cc: Serge Hallyn <serue@us.ibm.com> Cc: Herbert Poetzel <herbert@13thfloor.at> Cc: Kirill Korotaev <dev@sw.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
2894d650cd
commit
88f21d8182
4 changed files with 5 additions and 5 deletions
|
@ -674,7 +674,7 @@ forget_original_parent(struct task_struct *father, struct list_head *to_release)
|
|||
do {
|
||||
reaper = next_thread(reaper);
|
||||
if (reaper == father) {
|
||||
reaper = child_reaper(father);
|
||||
reaper = task_child_reaper(father);
|
||||
break;
|
||||
}
|
||||
} while (reaper->exit_state);
|
||||
|
@ -874,7 +874,7 @@ static inline void check_stack_usage(void) {}
|
|||
|
||||
static inline void exit_child_reaper(struct task_struct *tsk)
|
||||
{
|
||||
if (likely(tsk->group_leader != child_reaper(tsk)))
|
||||
if (likely(tsk->group_leader != task_child_reaper(tsk)))
|
||||
return;
|
||||
|
||||
panic("Attempted to kill init!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue