[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <adaskxcblo0.fsf@cisco.com>
Date: Wed, 23 Apr 2008 09:06:39 -0700
From: Roland Dreier <rdreier@...co.com>
To: Matthew Wilcox <matthew@....cx>
Cc: Linus Torvalds <torvalds@...l.org>, linux-kernel@...r.kernel.org,
David Howells <dhowells@...hat.com>
Subject: Re: Pull request for semaphore include changes
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists