lkml.org 
[lkml]   [2008]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Pull request for semaphore include changes
Date
 > You've missed this hunk:
>
> if (filp->f_flags & O_NONBLOCK) {
> if (down_trylock(&port->sm_sem)) {
> ret = -EAGAIN;
> goto fail;
> }
> } else {
> if (down_interruptible(&port->sm_sem)) {
> ret = -ERESTARTSYS;
> goto fail;
> }
> }

Duh, thanks.


\
 
 \ /
  Last update: 2008-04-23 18:09    [W:0.039 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site