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

2007-07-02 Thread Andrew Morton
On Tue, 26 Jun 2007 14:50:12 -0400 "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: > This change was originally submitted by Alexey Dobriyan in an email > with ... > > Message-ID: <[EMAIL PROTECTED]> > > and the comment, > > Some drivers do register_chrdev() before lock or semaphore used in > c

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

2007-06-26 Thread Ed L. Cashin
This change was originally submitted by Alexey Dobriyan in an email with ... Message-ID: <[EMAIL PROTECTED]> and the comment, Some drivers do register_chrdev() before lock or semaphore used in corresponding file_operations is initialized. Andrew Morton commented that these locks should be