Re: [PATCH] tty/vt: Return EBUSY if deallocating VT1 and it is busy

2013-06-16 Thread Mikael Pettersson
Ross Lagerwall writes: > 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 t

Re: [PATCH] tty/vt: Return EBUSY if deallocating VT1 and it is busy

2013-06-14 Thread Greg KH
On Fri, Jun 14, 2013 at 07:01:56PM -0400, Peter Hurley wrote: > On 06/14/2013 06:24 PM, Ross Lagerwall wrote: > >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

Re: [PATCH] tty/vt: Return EBUSY if deallocating VT1 and it is busy

2013-06-14 Thread Peter Hurley
On 06/14/2013 06:24 PM, Ross Lagerwall wrote: 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 res

[PATCH] tty/vt: Return EBUSY if deallocating VT1 and it is busy

2013-06-14 Thread Ross Lagerwall
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 Lag