On Wed, Jun 04, 2003 at 01:58:02AM +0100, P. Benie wrote:
> - if (down_interruptible(&tty->atomic_write)) {
> - return -ERESTARTSYS;
> + if (file->f_flags & O_NONBLOCK) {
> + if (down_trylock(&tty->atomic_write))
> + return -EAGAIN;
> + }
> + else {
The else should be on the same line as the closing brace, else
the patch looks fine.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:22 EST