From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Sipek Subject: Re: [PATCH 01 of 23] VFS: change struct file to use struct path Date: Tue, 24 Oct 2006 05:03:19 -0400 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 Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: 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 To: Martin Waitz Content-Disposition: inline In-Reply-To: <20061023114736.GA15167@admingilde.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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