Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 16 Jul 2002 00:05:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 16 Jul 2002 00:05:58 -0400 Received: from samba.sourceforge.net ([198.186.203.85]:54733 "HELO lists.samba.org") by vger.kernel.org with SMTP id ; Tue, 16 Jul 2002 00:05:57 -0400 Date: Tue, 16 Jul 2002 13:54:19 +1000 From: Rusty Russell To: Alexander Viro Cc: torvalds@transmeta.com, pmenage@ensim.com, linux-kernel@vger.kernel.org Subject: Re: [RFC] Rearranging struct dentry for cache affinity Message-Id: <20020716135419.3a301947.rusty@rustcorp.com.au> In-Reply-To: References: X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; powerpc-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 925 Lines: 29 On Sat, 13 Jul 2002 05:11:46 -0400 (EDT) Alexander Viro wrote: > futex.c is seriously b0rken. Really? Other than changing over to get_sb_psuedo(), what does your patch fix? As the filesystem should never be unmounted, what am I missing? Thanks! Rusty. > @@ -272,7 +272,8 @@ > return -ENFILE; > } > filp->f_op = &futex_fops; > - filp->f_dentry = dget(futex_dentry); > + filp->f_vfsmnt = mntget(futex_mnt); > + filp->f_dentry = dget(futex_mnt->mnt_root); > > if (signal) { > filp->f_owner.pid = current->pid; -- there are those who do and those who hang on and you don't see too many doers quoting their contemporaries. -- Larry McVoy - 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/