hello Pavel, hello Kir,

could you please sync latest 2.6.32 openvz to upstream stable.
You also then need belows fix.

Thank you

-- 
maks

----- Forwarded message from Ben Hutchings <[email protected]> -----

Date: Sat, 11 Dec 2010 05:51:39 +0000
From: Ben Hutchings <[email protected]>
To: [email protected]
Cc: Jiri Slaby <[email protected]>, Alan Cox <[email protected]>
Subject: [PATCH] TTY: Fix error return from tty_ldisc_open()

The backported version of "TTY: ldisc, fix open flag handling" in
2.6.32.27 causes tty_ldisc_open() to return 0 on error.  Fix that.

Signed-off-by: Ben Hutchings <[email protected]>
---
 drivers/char/tty_ldisc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/char/tty_ldisc.c b/drivers/char/tty_ldisc.c
index 8b9f1a5..cf0bfc6 100644
--- a/drivers/char/tty_ldisc.c
+++ b/drivers/char/tty_ldisc.c
@@ -451,6 +451,7 @@ static int tty_ldisc_open(struct tty_struct *tty, struct 
tty_ldisc *ld)
                ret = ld->ops->open(tty);
                if (ret)
                        clear_bit(TTY_LDISC_OPEN, &tty->flags);
+               return ret;
        }
        return 0;
 }
-- 
1.7.2.3


----- End forwarded message -----


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to