Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264893AbTF3PAL (ORCPT ); Mon, 30 Jun 2003 11:00:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264898AbTF3PAL (ORCPT ); Mon, 30 Jun 2003 11:00:11 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:13540 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S264893AbTF3PAG (ORCPT ); Mon, 30 Jun 2003 11:00:06 -0400 Date: Mon, 30 Jun 2003 16:14:26 +0100 From: Matthew Wilcox To: Trond Myklebust Cc: Linux FSdevel , Linux Kernel , NFS maillist Subject: Re: [PATCH 1/4] Optimize NFS open() calls by means of 'intents'... Message-ID: <20030630151426.GG31618@parcelfarce.linux.theplanet.co.uk> References: <16128.19197.159225.698080@charged.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16128.19197.159225.698080@charged.uio.no> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1133 Lines: 33 On Mon, Jun 30, 2003 at 04:36:45PM +0200, Trond Myklebust wrote: > +++ linux-2.5.73-04-lookupintent/include/linux/namei.h 2003-06-30 08:48:43.000000000 +0200 > struct nameidata { > struct dentry *dentry; > struct vfsmount *mnt; > struct qstr last; > unsigned int flags; > int last_type; > + > + /* Intent data */ > + union { > + struct open_intent open; > + } u; > + > +#if 0 > + /* FS private data */ > + void *it_private; > + void (*it_release)(struct nameidata *, void *); > +#endif Can we call the union something descriptive (eg "intent") rather than "u"? "u" only makes sense when you're working around not having anonymous unions. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk - 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/