OSDN Git Service

s390/3215: partially revert tty close handling fix
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 3 Jan 2013 13:31:53 +0000 (14:31 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Jan 2013 09:57:08 +0000 (10:57 +0100)
commit6673cd0bdbc802f2b05453a51fbcf2cf7d8be315
tree4942c0e100c5c186a4af4f06dc5be26587294134
parent93f3b2ee0abff5438e74cc90cf816429248cc8eb
s390/3215: partially revert tty close handling fix

Partially revert ae289dc1f "s390/3215: fix tty close handling", since this
leads sometimes to hanging agetty processes and therefore systems that get
stuck while starting.

This was magically fixed (bisected) by a common code patch from Alan Cox:
36b3c070 "tty: Move the handling of the tty release logic", however it was
unrelated.

Since the removed code worked for a decade, nobody knows anymore why it was
in there in the first place and debugging the observed hang is non-trivial
(at least for me :) ), let's just re-add the removed code before we see
other side effects.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/char/con3215.c