summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorJiri Slaby2012-11-15 09:49:54 +0100
committerGreg Kroah-Hartman2012-11-16 02:20:58 +0100
commitde274bfe0fc81def6ddb8a17020a9a4b56477cc4 (patch)
treefb2aeacdb9fc1e94b5aa13beb6a4818c043b43d3 /drivers/s390
parentTTY: n_gsm, use kref from tty_port (diff)
downloadkernel-qcow2-linux-de274bfe0fc81def6ddb8a17020a9a4b56477cc4.tar.gz
kernel-qcow2-linux-de274bfe0fc81def6ddb8a17020a9a4b56477cc4.tar.xz
kernel-qcow2-linux-de274bfe0fc81def6ddb8a17020a9a4b56477cc4.zip
TTY: introduce tty_port_destroy
After commit "TTY: move tty buffers to tty_port", the tty buffers are not freed in some drivers. This is because tty_port_destructor is not called whenever a tty_port is freed. This was an assumption I counted with but was unfortunately untrue. Those using refcounting are safe now, but for those which do not we introduce a function to be called right before the tty_port is freed by the drivers. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions