]> 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)
commit2d1c9f99795b6e5658ba109872ef8e5e79a6bfe2
tree700029c40a5a87026560e80b50761661f44c3131
parentc60a8cd31b97a8e7dededd29dfc7803b6a28a358
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