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

From: Peter Hurley
Date: Fri Jun 14 2013 - 19:02:08 EST


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>

--
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/