From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262081AbTJFNoJ (ORCPT ); Mon, 6 Oct 2003 09:44:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262099AbTJFNoA (ORCPT ); Mon, 6 Oct 2003 09:44:00 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:56299 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262081AbTJFNnV (ORCPT ); Mon, 6 Oct 2003 09:43:21 -0400 Date: Mon, 6 Oct 2003 14:43:20 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: Maneesh Soni Cc: Patrick Mochel , Greg KH , LKML , Dipankar Sarma Subject: Re: [RFC 2/6] sysfs-mount.patch Message-ID: <20031006134320.GP7665@parcelfarce.linux.theplanet.co.uk> References: <20031006085915.GE4220@in.ibm.com> <20031006090003.GF4220@in.ibm.com> <20031006090030.GG4220@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031006090030.GG4220@in.ibm.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 06, 2003 at 02:30:30PM +0530, Maneesh Soni wrote: > @@ -692,6 +693,10 @@ do_kern_mount(const char *fstype, int fl > mnt->mnt_mountpoint = sb->s_root; > mnt->mnt_parent = mnt; > up_write(&sb->s_umount); > + > + if (!strcmp(fstype, "sysfs")) > + sysfs_mount = mnt; > + > put_filesystem(type); > return mnt; > out_sb: That's too ugly for words. Vetoed. Sorry, but *that* will not fly.