commit | b3f13debd593dbd7242a4ecf6c9b4d529805e5a0 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <[email protected]> | Wed Dec 13 00:35:09 2006 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Dec 13 09:05:53 2006 -0800 |
tree | d37de63bd6809b14fe789195706b754f11de2254 | |
parent | a2db8dfce8d94fecae50128d912fec7980687a51 [diff] |
[PATCH] tty_io.c balance tty_ldisc_ref() tty_ldisc_deref() should only be called when tty_ldisc_ref() succeeds otherwise it triggers a BUG(). There's already a function tty_ldisc_flush() that flushes properly. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>