Re: autofs4 looks up wrong path element when ghosting is enabled

From: Ian Kent
Date: Sat Oct 08 2005 - 23:49:56 EST


On Sat, 8 Oct 2005, Jeff Moyer wrote:

> ==> Regarding Re: autofs4 looks up wrong path element when ghosting is enabled; Ian Kent <raven@xxxxxxxxxx> adds:
>
> raven> On Mon, 26 Sep 2005, Jeff Moyer wrote:
> >> I put together a different patch, but I want to get your input on the
> >> approach before I post it. It requires both user-space and kernel-space
> >> changes.
> >>
> >> Basically, you identify that a given automount tree is a direct map
> >> tree. This information is passed along to the kernel (I did this via a
> >> mount option), and recorded (in the super block info). Then, when a
> >> directory lookup occurs, if we are in a direct map tree, and ghosting is
> >> enabled, then we pass the lookup on to the real lookup code.
> >>
> >> I'm not sold on the approach, as I haven't thought through all of the
> >> implications. Care to comment?
>
> raven> Can you post your patch please Jeff.
>
> I would, if it worked! I'm away until the 17th. I'll see what I can
> come up with when I get back. Sorry!

No problem.

I'm investigating as well.
It's a bit tricky this case.

Ian

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