X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=kernel%2Fpid.c;h=0eb6d8e8b1da7ffd3d5a750698395d0889190b73;hb=a1c10a94ff3c76b83a9e2899659ff27877fce23f;hp=0db3e791a06d48594606bc4789bc8fbe0fd5a4f0;hpb=007b703b3ed74e9af9c0576e7698ccda0170d370;p=firefly-linux-kernel-4.4.55.git diff --git a/kernel/pid.c b/kernel/pid.c index 0db3e791a06d..0eb6d8e8b1da 100644 --- a/kernel/pid.c +++ b/kernel/pid.c @@ -264,6 +264,7 @@ void free_pid(struct pid *pid) struct pid_namespace *ns = upid->ns; hlist_del_rcu(&upid->pid_chain); switch(--ns->nr_hashed) { + case 2: case 1: /* When all that is left in the pid namespace * is the reaper wake up the reaper. The reaper