https://github.com/torvalds/linux
Revision b3f13debd593dbd7242a4ecf6c9b4d529805e5a0 authored by Dan Carpenter on 13 December 2006, 08:35:09 UTC, committed by Linus Torvalds on 13 December 2006, 17:05:53 UTC
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>
1 parent a2db8df
History
Tip revision: b3f13debd593dbd7242a4ecf6c9b4d529805e5a0 authored by Dan Carpenter on 13 December 2006, 08:35:09 UTC
[PATCH] tty_io.c balance tty_ldisc_ref()
Tip revision: b3f13de
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 547 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 75.2 KB
Makefile -rw-r--r-- 49.2 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top