You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] reparent_to_init cleanup
This patch hides reparent_to_init(). reparent_to_init() should only be called by daemonize(). Signed-off-by: Coywolf Qi Hunt <coywolf@lovecn.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
2f4cfacecd
commit
6c46ada700
+1
-1
@@ -220,7 +220,7 @@ static inline int has_stopped_jobs(int pgrp)
|
||||
*
|
||||
* NOTE that reparent_to_init() gives the caller full capabilities.
|
||||
*/
|
||||
void reparent_to_init(void)
|
||||
static inline void reparent_to_init(void)
|
||||
{
|
||||
write_lock_irq(&tasklist_lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user