Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030242AbWJXJDk (ORCPT ); Tue, 24 Oct 2006 05:03:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030244AbWJXJDk (ORCPT ); Tue, 24 Oct 2006 05:03:40 -0400 Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:14015 "EHLO filer.fsl.cs.sunysb.edu") by vger.kernel.org with ESMTP id S1030242AbWJXJDi (ORCPT ); Tue, 24 Oct 2006 05:03:38 -0400 Date: Tue, 24 Oct 2006 05:03:19 -0400 From: Josef Sipek To: Martin Waitz Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 01 of 23] VFS: change struct file to use struct path Message-ID: <20061024090319.GA18110@filer.fsl.cs.sunysb.edu> References: <20061021002200.4731cdeb.akpm@osdl.org> <20061021072807.GF30620@filer.fsl.cs.sunysb.edu> <20061023114736.GA15167@admingilde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061023114736.GA15167@admingilde.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 28 On Mon, Oct 23, 2006 at 01:47:36PM +0200, Martin Waitz wrote: > hoi :) > > On Sat, Oct 21, 2006 at 03:28:07AM -0400, Josef Sipek wrote: > > > why? > > > > It's little cleaner than having two pointers. In general, there is a number > > of users of dentry-vfsmount pairs in the kernel, and struct path nicely > > wraps it. > > Sure, but you can split the patch up: > > First, change struct file and introduce the #defines so that everything > still works as before. That's what 01 does (along with fs/*.[ch] changes). Josef "Jeff" Sipek. -- Mankind invented the atomic bomb, but no mouse would ever construct a mousetrap. - Albert Einstein - 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/