From: Chaskiel M Grundman Date: Sun, 23 Mar 2003 06:45:51 +0000 (+0000) Subject: STABLE12-linux-kthreads-reparent-20030323 X-Git-Tag: openafs-stable-1_2_9~23 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=de88f3af926c577d5ea4016809eccdff819053d5;p=packages%2Fo%2Fopenafs.git STABLE12-linux-kthreads-reparent-20030323 reparent kernel threads to avoid zombies at shutdown (cherry picked from commit d14d08e35b95b2482bb074fe174db1e2b55da49d) --- diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index 2fd484bf6..34905402c 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -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: