From: Dan Carpenter Date: Wed, 13 Dec 2006 08:35:09 +0000 (-0800) Subject: [PATCH] tty_io.c balance tty_ldisc_ref() X-Git-Tag: v2.6.20-rc1~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3f13debd593dbd7242a4ecf6c9b4d529805e5a0;p=pandora-kernel.git [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 Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed