From: Jeff Moyer Subject: Re: Re: [patch, rfc] fix hung automounter issues Date: Mon, 18 Apr 2005 09:45:17 -0400 Message-ID: <16995.47597.676985.360271@segfault.boston.redhat.com> References: <16990.26693.814813.479017@segfault.boston.redhat.com> Reply-To: jmoyer@redhat.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii" To: raven@themaw.net Cc: autofs mailing list , Dan.Berrange@ubs.com ==> Regarding Re: [autofs] Re: [patch, rfc] fix hung automounter issues; raven@themaw.net adds: raven> On Mon, 18 Apr 2005 raven@themaw.net 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