Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753578Ab3FOErw (ORCPT ); Sat, 15 Jun 2013 00:47:52 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49144 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600Ab3FOEru (ORCPT ); Sat, 15 Jun 2013 00:47:50 -0400 Date: Fri, 14 Jun 2013 21:48:24 -0700 From: Greg KH To: Peter Hurley , Ross Lagerwall , linux-kernel@vger.kernel.org, Dave Jones , linux-serial@vger.kernel.org Subject: Re: [PATCH] tty/vt: Return EBUSY if deallocating VT1 and it is busy Message-ID: <20130615044824.GA13946@kroah.com> References: <20130614213543.GA1896@kroah.com> <1371248665-1176-1-git-send-email-rosslagerwall@gmail.com> <51BBA0E4.6030602@hurleysoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51BBA0E4.6030602@hurleysoftware.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 23 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 > > Thanks. > > Acked-by: Peter Hurley 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/