STABLE12-linux-kthreads-reparent-20030323

reparent kernel threads to avoid zombies at shutdown


(cherry picked from commit d14d08e35b)
This commit is contained in:
Chaskiel M Grundman 2003-03-23 06:45:51 +00:00 committed by Derrick Brashear
parent c6d666dcc1
commit de88f3af92

View File

@ -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: