mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
linux-kthreads-reparent-20030323
so we don't get orphans on afs shutdown
This commit is contained in:
parent
953c54df1e
commit
d14d08e35b
@ -153,6 +153,7 @@ static int afsd_thread(void *rock) {
|
|||||||
daemonize(); /* doesn't do much, since we were forked from keventd, but
|
daemonize(); /* doesn't do much, since we were forked from keventd, but
|
||||||
does call mm_release, which wakes up our parent (since it
|
does call mm_release, which wakes up our parent (since it
|
||||||
used CLONE_VFORK) */
|
used CLONE_VFORK) */
|
||||||
|
reparent_to_init();
|
||||||
afs_osi_MaskSignals();
|
afs_osi_MaskSignals();
|
||||||
switch (parm) {
|
switch (parm) {
|
||||||
case AFSOP_START_RXCALLBACK:
|
case AFSOP_START_RXCALLBACK:
|
||||||
|
Loading…
Reference in New Issue
Block a user