commit | b3f13debd593dbd7242a4ecf6c9b4d529805e5a0 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Wed Dec 13 00:35:09 2006 -0800 |
committer | Linus Torvalds <torvalds@woody.osdl.org> | 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 <error27@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>