mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04: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 <[email protected]> Cc: Pavel Emelianov <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Cedric Le Goater <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Serge Hallyn <[email protected]> Cc: Herbert Poetzel <[email protected]> Cc: Kirill Korotaev <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
2894d650cd
commit
88f21d8182
4 changed files with 5 additions and 5 deletions
|
|
@ -775,7 +775,7 @@ static int de_thread(struct task_struct *tsk)
|
|||
* Reparenting needs write_lock on tasklist_lock,
|
||||
* so it is safe to do it under read_lock.
|
||||
*/
|
||||
if (unlikely(tsk->group_leader == child_reaper(tsk)))
|
||||
if (unlikely(tsk->group_leader == task_child_reaper(tsk)))
|
||||
task_active_pid_ns(tsk)->child_reaper = tsk;
|
||||
|
||||
zap_other_threads(tsk);
|
||||
|
|
|
|||
Loading…
Reference in a new issue