==> Regarding Re: [autofs] Re: [patch, rfc] fix hung automounter issues; [EMAIL 
PROTECTED] adds:

raven> On Mon, 18 Apr 2005 [EMAIL PROTECTED] wrote:

raven> Hang on, I think I've got a problem with white space and my mailer.

raven> If you have problems with the patch in the previous mail try this one 
raven> instead (maybe just use this one).

Oops, we need to disable signals when flushing the logs.  The following is
unsafe:

> +static void flush_log(void)
> +{
> +     int i;
> +
> +     for (i = 0; i < ringlen; i++)
> +             syslog(logbuf[i].pri, logbuf[i].buf);
> +     ringlen = 0;
> +}
> +

-Jeff

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to