From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 21 May 2001 21:20:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 21 May 2001 21:19:40 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:7177 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Mon, 21 May 2001 21:19:38 -0400 Date: Tue, 22 May 2001 02:18:15 +0100 From: Matthew Wilcox To: Linus Torvalds Cc: Matthew Wilcox , Ingo Oeser , Alexander Viro , Alan Cox , Pavel Machek , Richard Gooch , Andrew Clausen , Ben LaHaise , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFD w/info-PATCH] device arguments from lookup, partion code Message-ID: <20010522021815.M23718@parcelfarce.linux.theplanet.co.uk> In-Reply-To: <20010522015714.K23718@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from torvalds@transmeta.com on Mon, May 21, 2001 at 06:13:18PM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 21, 2001 at 06:13:18PM -0700, Linus Torvalds wrote: > Nope. You can (and people do, quite often) share filps. So you can't > associate state with it. For _devices_, though? I don't expect my mouse to work if gpm and xfree both try to consume device events from the same filp. Heck, it doesn't even work when they try to consume events from the same inode :-) I think this is a reasonable restriction for the class of devices in question. -- Revolutions do not require corporate support.