Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 16 Jul 2002 20:28:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 16 Jul 2002 20:28:24 -0400 Received: from samba.sourceforge.net ([198.186.203.85]:32445 "HELO lists.samba.org") by vger.kernel.org with SMTP id ; Tue, 16 Jul 2002 20:28:02 -0400 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 In-reply-to: Your message of "Tue, 16 Jul 2002 00:40:42 -0400." Date: Wed, 17 Jul 2002 10:04:44 +1000 Message-Id: <20020717003135.ACB2D4503@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1046 Lines: 27 In message you wri te: > On Tue, 16 Jul 2002, Rusty Russell wrote: > > > 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? > > > 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); > > Uninitialized ->f_vfsmnt == quite a few places in the tree very unhappy. > E.g. any access to /proc//fd/. I figured out which ones I needed to set by rough inspection, always a dangerous practice. Thanks! Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/