linux-kthreads-reparent-20030323

so we don't get orphans on afs shutdown
This commit is contained in:
Chaskiel M Grundman 2003-03-23 06:44:26 +00:00 committed by Derrick Brashear
parent 953c54df1e
commit d14d08e35b

View File

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