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

From: Greg KH
Date: Sat Jun 15 2013 - 00:48:09 EST


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 EBUSY. The commit
> >changed this to return 0 (success).
> >
> >This commit restores the old behavior.
> >
> >Signed-off-by: Ross Lagerwall <rosslagerwall@xxxxxxxxx>
>
> Thanks.
>
> Acked-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>

Thanks for this, I'll queue it up for Linus soon.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/