Re: [RFD 1/4] Pass no useless nameidata to the create, lookup, and permission IOPs

From: Christoph Hellwig
Date: Sat Jun 30 2007 - 05:15:11 EST


On Tue, Jun 26, 2007 at 08:11:41PM -0400, Erez Zadok wrote:
> Perhaps it is also time to put the dentry + mnt into a single struct path?
> It's a small change, but it emphasizes that the two items here, dentry+mnt,
> really define a single path to be passed around:

No. The vfsmount will go away completely medium-term once we get right
of the atomic open nfs hack that paases a file back in the open intent.
A normal filesystem has not business looking at the vfsmount instance at
all, and the raw open/create we need to replace the atomic open hack
will need the full nameidata per definition, also to allow things like
a multi-component lookup that various cluster/network filesystems really
want.

-
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/