Re: [PATCH] autofs4 needs to force fail return revalidate

From: Ian Kent
Date: Wed Jun 21 2006 - 09:10:56 EST


On Wed, 21 Jun 2006, Al Viro wrote:

> On Wed, Jun 21, 2006 at 02:18:15PM +0800, Ian Kent wrote:
> > While this problem has been present for a long time I've avoided resolving
> > it because it was not very visible. But now that autofs v5 has "mount and
> > expire on demand" of nested multiple mounts, such as is found when
> > mounting an export list from a server, solving the problem cannot be
> > avoided any longer.
> >
> > I've tried very hard to find a way to do this entirely within the
> > autofs4 module but have not been able to find a satisfactory way to
> > achieve it.
> >
> > So, I need to propose a change to the VFS.
>
> NAK in that form. Care to explain what should happen to mount tree
> when you do that to mountpoint?
>

The flag is never set if it a mount succeeds so there's never a tree under
it. But that's only my usage, so point taken.

Thinking about it that's not the only potential problem either.

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/