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 <b...@decadent.org.uk> -----

Date: Sat, 11 Dec 2010 05:51:39 +0000
From: Ben Hutchings <b...@decadent.org.uk>
To: sta...@kernel.org
Cc: Jiri Slaby <jsl...@suse.cz>, Alan Cox <a...@linux.intel.com>
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 <b...@decadent.org.uk>
---
 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 debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101214185247.gf...@stro.at

Reply via email to