From d14d08e35b95b2482bb074fe174db1e2b55da49d Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Sun, 23 Mar 2003 06:44:26 +0000 Subject: [PATCH] linux-kthreads-reparent-20030323 so we don't get orphans on afs shutdown --- src/afs/afs_call.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index a8f6d51281..ba9fa9762e 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -153,6 +153,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: