commit | 5b4f9cf3cc339565be1ecd64d608b6ffdfba7c1e | [log] [tgz] |
---|---|---|
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | Tue Sep 19 10:51:48 2023 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 03 14:31:15 2023 +0200 |
tree | 1b17141ba639a4c716344cd2cfbaa78c0ec6e0ba | |
parent | c2a36609dab3b7c937ab95bfb8b98e72391f772e [diff] |
tty: invert return values of tty_{,un}throttle_safe() If tty_{,un}throttle_safe() returned true on success (similar to *_trylock()), it would make the conditions in callers more obvious. So perform the switch to these inverted values (and fix the callers). Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230919085156.1578-8-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>