[Debian] stable update 2.6.32.27
maximilian attems
max at stro.at
Tue Dec 14 13:52:47 EST 2010
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 <ben at decadent.org.uk> -----
Date: Sat, 11 Dec 2010 05:51:39 +0000
From: Ben Hutchings <ben at decadent.org.uk>
To: stable at kernel.org
Cc: Jiri Slaby <jslaby at suse.cz>, Alan Cox <alan at 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 <ben at 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 -----
More information about the Debian
mailing list