Commit d71b90e
exit: fix misleading comment in forget_original_parent()
The commit 482a376 ("exit: reparent: call forget_original_parent()
under tasklist_lock") moved the comment from exit_notify() to
forget_original_parent(). However, the forget_original_parent() only
handles (A), while (B) is handled in kill_orphaned_pgrp(). So remove the
unrelated part.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Fushuai Wang <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Cc: Andrii Nakryiko <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Mateusz Guzik <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Cc: wangfushuai <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent ad2c807 commit d71b90e
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
| 695 | + | |
701 | 696 | | |
702 | 697 | | |
703 | 698 | | |
| |||
0 commit comments