summaryrefslogtreecommitdiffstats
path: root/fs/ioprio.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-05-29 13:45:16 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-29 10:42:13 -0700
commit8f6576ad476b2a22d05ddafd2ddaee102577a4ed (patch)
tree3c7e3b21dad828aa404ec5e6df5d8006cdb90815 /fs/ioprio.c
parentd3ca8b64b97ef4dc54d7bb0b88bbc01a1fca8cb9 (diff)
downloadop-kernel-dev-8f6576ad476b2a22d05ddafd2ddaee102577a4ed.zip
op-kernel-dev-8f6576ad476b2a22d05ddafd2ddaee102577a4ed.tar.gz
tty: fix ldisc lock inversion trace
This is caused by tty_release using tty_lock_pair to lock both sides of the pty/tty pair, and then tty_ldisc_release dropping and relocking one side only. We can drop both fine, so drop both to avoid any lock ordering concerns. Rework the release path to fix the new locking model. Signed-off-by: Alan Cox <alan@linux.intel.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ioprio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud