Re: [PATCH 01 of 23] VFS: change struct file to use struct path

From: Martin Waitz
Date: Mon Oct 23 2006 - 07:48:17 EST


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.
If this is accepted upstream, you can start to move other kernel
code to use the new names.
If all active trees have finally moved to only use the new name,
then you can remove the #define.

--
Martin Waitz

Attachment: signature.asc
Description: Digital signature