Re: Pull request for semaphore include changes

From: Roland Dreier
Date: Wed Apr 23 2008 - 12:06:50 EST


> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/