From owner-freebsd-geom@FreeBSD.ORG Mon Jan 26 08:51:50 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4318D16A4CE for ; Mon, 26 Jan 2004 08:51:50 -0800 (PST) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D03E643D45 for ; Mon, 26 Jan 2004 08:51:48 -0800 (PST) (envelope-from l.ertl@univie.ac.at) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) i0QGpfaO362016; Mon, 26 Jan 2004 17:51:43 +0100 Date: Mon, 26 Jan 2004 17:51:32 +0100 (CET) From: Lukas Ertl To: Pawel Jakub Dawidek In-Reply-To: <20040126161300.GJ565@garage.freebsd.pl> Message-ID: <20040126175100.W619@korben.in.tern> References: <20040125234848.GH565@garage.freebsd.pl> <20040126161300.GJ565@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-DCC-ZID-Univie-Metrics: imap 4243; Body=0 Fuz1=0 Fuz2=0 cc: freebsd-geom@freebsd.org Subject: Re: Preventing deadlocks on the event queue. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 16:51:50 -0000 On Mon, 26 Jan 2004, Pawel Jakub Dawidek wrote: > On Mon, Jan 26, 2004 at 04:50:38PM +0100, Lukas Ertl wrote: > +> > +> Do you really want to make this a separate function? Since it's just a > +> one-line comparison, wouldn't a macro suffice? > > I want to avoid exporting 'g_event_proc' from geom_kern.c (it is declareted > staticaly there). Ah, yes, sorry, I missed the fact that the function would end up in geom_kern.c. regards, le -- Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/