linux/drivers/tty/vt
Ross Lagerwall ef223fb3d1 tty/vt: Return EBUSY if deallocating VT1 and it is busy
Commit 421b40a628 ("tty/vt: Fix vc_deallocate() lock order") changed
the behavior when deallocating VT 1.  Previously if trying to
deallocate VT1 and it is busy, we would return EBUSY.  The commit
changed this to return 0 (success).

This commit restores the old behavior.

Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com>
Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Acked-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-17 12:37:29 -07:00
..
.gitignore
consolemap.c driver: tty: vt: remove cast for kmalloc return value 2013-03-18 17:09:37 -07:00
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c TTY: switch tty_schedule_flip 2013-01-15 22:43:15 -08:00
Makefile tty: vt/Makefile: set the variables to static 2013-01-15 21:52:24 -08:00
selection.c TTY: vt, fix paste_selection ldisc handling 2012-10-22 16:50:53 -07:00
vc_screen.c vt: synchronize_rcu() under spinlock is not nice... 2013-03-26 20:30:17 -04:00
vt_ioctl.c tty/vt: Return EBUSY if deallocating VT1 and it is busy 2013-06-17 12:37:29 -07:00
vt.c tty/vt: Fix vc_deallocate() lock order 2013-05-20 12:15:59 -07:00