vt: push down the tty lock so we can see what is left to tackle
authorAlan Cox <alan@linux.intel.com>
Fri, 2 Mar 2012 14:59:20 +0000 (14:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 19:10:27 +0000 (11:10 -0800)
commit4001d7b7fc271052ebff43f327c26dc64806bbdf
tree0ed1daaf95b5e1e7ce73589b4b25e88ac0b60461
parentedab558feba1e2826ae8d65506168d7ccea7aad9
vt: push down the tty lock so we can see what is left to tackle

At this point we have the tty_lock guarding a couple of oddities, plus the
translation and unimap still.

We also extend the console_lock in a couple of spots where coverage is wrong
and switch vcs_open to use the right lock !

[Fixed the locking issue Jiri reported]

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vc_screen.c
drivers/tty/vt/vt_ioctl.c