]> git.baikalelectronics.ru Git - kernel.git/commit
s390/3270: add missing tty_kref_put
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 27 Apr 2016 12:32:06 +0000 (14:32 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 4 May 2016 14:29:50 +0000 (16:29 +0200)
commit2de2a7ecaba95fd12ec14e6036e82c93ea5fad2c
tree4f31715342340a3f45e554f401f0908de5626d52
parentd1fae9dfd2d400f82123564ddfe5e9e38e4e6235
s390/3270: add missing tty_kref_put

The tty3270_resize_work functions acquires a reference to the tty
to call tty_do_resize but fails to release the reference again.
Add the missing tty_kref_put.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tty3270.c