Re: [PATCH 09/13] remove race between use and initialization of locks

2007-12-26 Thread Ed L. Cashin
On Fri, Dec 21, 2007 at 10:00:40PM -0800, Andrew Morton wrote: > On Thu, 20 Dec 2007 17:15:57 -0500 "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: ... > > +static __DECLARE_SEMAPHORE_GENERIC(emsgs_sema, 0); ... > > - sema_init(&emsgs_sema, 0); > > - spin_lock_init(&emsgs_lock); > > aoe_class = c

Re: [PATCH 09/13] remove race between use and initialization of locks

2007-12-21 Thread Andrew Morton
On Thu, 20 Dec 2007 17:15:57 -0500 "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: > Alexey Dobriyan noticed a race in the initialization of the dynamic > locks in ... > > Message-ID: <[EMAIL PROTECTED]> > > Andrew Morton commented that these locks should be initialized at > compile time, so this pa

[PATCH 09/13] remove race between use and initialization of locks

2007-12-20 Thread Ed L. Cashin
Alexey Dobriyan noticed a race in the initialization of the dynamic locks in ... Message-ID: <[EMAIL PROTECTED]> Andrew Morton commented that these locks should be initialized at compile time, so this patch does that. Signed-off-by: Ed L. Cashin <[EMAIL PROTECTED]> --- drivers/block/aoe/aoech

[PATCH 09/13] remove race between use and initialization of locks

2007-12-07 Thread Ed L. Cashin
Alexey Dobriyan noticed a race in the initialization of the dynamic locks in ... Message-ID: <[EMAIL PROTECTED]> Andrew Morton commented that these locks should be initialized at compile time, so this patch does that. Signed-off-by: Ed L. Cashin <[EMAIL PROTECTED]> --- drivers/block/aoe/aoech