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

From: Josef Sipek
Date: Tue Oct 24 2006 - 05:04:04 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/