vt: Deadlock workaround
authorAlan Cox <alan@redhat.com>
Mon, 4 Aug 2008 16:47:07 +0000 (17:47 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Aug 2008 00:12:07 +0000 (17:12 -0700)
commitd5cae364148088911bdf007a8aaefb46a92f16f7
tree7dc6d3d99f4a056ff9efed96fea61ff54acab046
parentd7283353221e73a793847252d063ff9186885160
vt: Deadlock workaround

2.6.26 corrected the mutex locking on tty resizing to fix the case where
you could get the tty/vt sizing out of sync. That turns out to have a
deadlock.

The actual fix is really major and I've got it lined up as part of the ops
changes for 2.6.28 so for 2.6.26/2.6.27 it is safer to reintroduce this
ages old minor bug.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt.c