linux/include
Alan Cox feebed6515 tty: shutdown method
Right now there are various drivers that try to use tty->count to know when
they get the final close. Aristeau Rozanski showed while debugging the vt
sysfs race that this isn't entirely safe.

Instead of driver side tricks to work around this introduce a shutdown which
is called when the tty is being destructed. This also means that the shutdown
method is tied into the refcounting.

Use this to rework the console close/sysfs logic.

Remove lots of special case code from the tty core code. The pty code can now
have a shutdown() method that replaces the special case hackery in the tree
free up paths.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-13 09:51:42 -07:00
..
acpi
asm-arm
asm-cris
asm-frv
asm-generic Merge branch 'x86/urgent' into core/signal 2008-10-12 11:32:17 +02:00
asm-m32r
asm-m68k
asm-mips MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
asm-mn10300
asm-parisc signals: demultiplexing SIGTRAP signal 2008-09-23 13:26:52 +02:00
asm-um
asm-x86 tty: Add termiox 2008-10-13 09:51:40 -07:00
asm-xtensa
crypto
drm
keys
linux tty: shutdown method 2008-10-13 09:51:42 -07:00
math-emu
media
mtd
net net: fix dummy 'nf_conntrack_event_cache()' 2008-10-11 09:46:24 -07:00
pcmcia
rdma
rxrpc
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-10-10 10:53:26 -07:00
sound Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-11 12:39:35 -07:00
video Merge branch 'pxa-all' into devel 2008-10-09 21:33:02 +01:00
xen xen: remove unused balloon.h 2008-10-03 10:04:10 +02:00
Kbuild