diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2013-06-15 00:24:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 21:37:29 +0200 |
commit | ef223fb3d1d61c2a95a89cdc02f8e86dac96ddc3 (patch) | |
tree | af86ef5993496aa476bb0a487dcd38b7f2890ac2 /drivers/tty/pty.c | |
parent | Linux 3.10-rc6 (diff) | |
download | linux-ef223fb3d1d61c2a95a89cdc02f8e86dac96ddc3.tar.xz linux-ef223fb3d1d61c2a95a89cdc02f8e86dac96ddc3.zip |
tty/vt: Return EBUSY if deallocating VT1 and it is busy
Commit 421b40a6286e ("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>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions