]> git.baikalelectronics.ru Git - kernel.git/commit
tty: drop outdated comments about release_tty() locking
authorEric Biggers <ebiggers@google.com>
Mon, 24 Feb 2020 07:33:59 +0000 (23:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 12:08:45 +0000 (13:08 +0100)
commit360954eb9e8d207d63f8510b5e0d0f5363558d94
tree700029c40a5a87026560e80b50761661f44c3131
parent123063f2101dc149e029de1dddb97859efae82d1
tty: drop outdated comments about release_tty() locking

The current version of the TTY code unlocks the tty_struct(s) before
release_tty() rather than after.  Moreover, tty_unlock_pair() no longer
exists.  Thus, remove the outdated comments regarding tty_unlock_pair().

Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20200224073359.292795-1-ebiggers@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c