Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267424AbUIOU4a (ORCPT ); Wed, 15 Sep 2004 16:56:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267409AbUIOUzV (ORCPT ); Wed, 15 Sep 2004 16:55:21 -0400 Received: from h-68-165-86-241.dllatx37.covad.net ([68.165.86.241]:46399 "EHLO sol.microgate.com") by vger.kernel.org with ESMTP id S267433AbUIOUxf (ORCPT ); Wed, 15 Sep 2004 16:53:35 -0400 Subject: Re: PATCH: tty locking for 2.6.9rc2 From: Paul Fulghum To: Alan Cox Cc: linux-kernel , Andrew Morton In-Reply-To: <20040915204028.GA25740@devserv.devel.redhat.com> References: <20040914163426.GA29253@devserv.devel.redhat.com> <1095265595.2924.27.camel@deimos.microgate.com> <20040915163051.GA9096@devserv.devel.redhat.com> <1095274482.2686.16.camel@deimos.microgate.com> <20040915200856.GA8000@devserv.devel.redhat.com> <1095279799.2958.11.camel@deimos.microgate.com> <20040915204028.GA25740@devserv.devel.redhat.com> Content-Type: text/plain Organization: Message-Id: <1095281599.2958.21.camel@deimos.microgate.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 15 Sep 2004 15:53:19 -0500 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 558 Lines: 24 On Wed, 2004-09-15 at 15:40, Alan Cox wrote: > What do you think about > > tty_ldisc_get(tty, ldisc_num) > > That seems to remove the whole mess ? Seems reasonable. It's more compact and less error prone. It will require some reordering/reworking of tty_set_ldisc(). -- Paul Fulghum paulkf@microgate.com - 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/