| Subject | Re: [Patch RFC 23/37] usb: gadgetfs: Convert semaphore to mutex | From | Daniel Walker <> | Date | Sun, 26 Jul 2009 15:56:39 -0700 |
| |
On Sun, 2009-07-26 at 08:18 +0000, Thomas Gleixner wrote: > - if (down_trylock (&epdata->lock) != 0) > + if (mutex_trylock(&epdata->lock) != 0)
You forget the mutex_trylock has an inverted return value..
Daniel
|