From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758245AbXI1DZj (ORCPT ); Thu, 27 Sep 2007 23:25:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755051AbXI1DZb (ORCPT ); Thu, 27 Sep 2007 23:25:31 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:60369 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754106AbXI1DZa (ORCPT ); Thu, 27 Sep 2007 23:25:30 -0400 Date: Thu, 27 Sep 2007 20:22:28 -0700 From: Greg KH To: Matthew Wilcox Cc: Theodore Tso , Andrew Morton , Alan Cox , Jens Axboe , Arjan van de Ven , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] fs: Correct SuS compliance for open of large file without options Message-ID: <20070928032228.GB23543@kroah.com> References: <20070927154432.302ec5a7@the-village.bc.nu> <20070927150853.GA10154@kernel.dk> <20070927161912.2f08aff6@the-village.bc.nu> <20070927155902.GA6450@thunk.org> <20070927102343.1a113ccc.akpm@linux-foundation.org> <20070927175917.GB8339@kroah.com> <20070927183742.GA23734@thunk.org> <20070927213445.GA7857@kroah.com> <20070927231927.GE8688@thunk.org> <20070927232857.GA12049@parisc-linux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070927232857.GA12049@parisc-linux.org> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 27, 2007 at 05:28:57PM -0600, Matthew Wilcox wrote: > On Thu, Sep 27, 2007 at 07:19:27PM -0400, Theodore Tso wrote: > > Would you accept a patch which causes the deprecated sysfs > > files/directories to disappear, even if CONFIG_SYS_DEPRECATED is > > defined, via a boot-time parameter? > > How about a mount option? That way people can test without a reboot: > > mount -o remount,deprecated={yes,no} /sys Unfortunatly, due to the way sysfs and kobjects are built up, this is pretty impossible to do. sorry, greg k-h