Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 23 Mar 2003 03:19:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 23 Mar 2003 03:19:38 -0500 Received: from phoenix.mvhi.com ([195.224.96.167]:17164 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Sun, 23 Mar 2003 03:19:38 -0500 Date: Sun, 23 Mar 2003 08:30:34 +0000 From: Christoph Hellwig To: Greg KH Cc: Roman Zippel , Andries.Brouwer@cwi.nl, linux-kernel@vger.kernel.org, akpm@digeo.com Subject: Re: [PATCH] alternative dev patch Message-ID: <20030323083034.A6732@infradead.org> Mail-Followup-To: Christoph Hellwig , Greg KH , Roman Zippel , Andries.Brouwer@cwi.nl, linux-kernel@vger.kernel.org, akpm@digeo.com References: <20030321012455.GB10298@kroah.com> <20030322013800.GD18835@kroah.com> <20030323081956.GK26145@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030323081956.GK26145@kroah.com>; from greg@kroah.com on Sun, Mar 23, 2003 at 12:19:56AM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 701 Lines: 14 On Sun, Mar 23, 2003 at 12:19:56AM -0800, Greg KH wrote: > Look at drivers/usb/core/file.c::usb_open(), it does much the same > thing. Well, functionally the same, not identical in any way :) And sound (well, not actually ranges), input, v4l, tty, etc.. ->i_cdev together with char device probes would have solved that nicely and without the linear list serach in ->open that we got now, which will bite us much more once 32bit dev_ts are actually used. - 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/