mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
STABLE12-linux-kthreads-reparent-20030323
reparent kernel threads to avoid zombies at shutdown
(cherry picked from commit d14d08e35b
)
This commit is contained in:
parent
c6d666dcc1
commit
de88f3af92
@ -145,6 +145,7 @@ static int afsd_thread(void *rock) {
|
||||
daemonize(); /* doesn't do much, since we were forked from keventd, but
|
||||
does call mm_release, which wakes up our parent (since it
|
||||
used CLONE_VFORK) */
|
||||
reparent_to_init();
|
||||
afs_osi_MaskSignals();
|
||||
switch (parm) {
|
||||
case AFSOP_START_RXCALLBACK:
|
||||
|
Loading…
Reference in New Issue
Block a user