[Sheepdog] [PATCH] logger: fix pid confusion

MORITA Kazutaka morita.kazutaka at gmail.com
Mon Apr 30 22:35:37 CEST 2012


At Sun, 29 Apr 2012 09:32:30 -0400,
Christoph Hellwig wrote:
> 
> We need to store the logger (child) pid in a variable as getppid() fails
> inside the death handler.  Instead of going back to using the pid variable
> like it was done before "logger: improve death messages" use two different
> variable for the sheep and logger, and comment on why we perform this
> confusing dance, so that it doesn't get accidentally removed again.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list