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

From: Ian Kent
Date: Wed Jun 21 2006 - 09:39:25 EST


On Tue, 20 Jun 2006, Andrew Morton wrote:

>
> Also, did you consider broadening the ->d_revalidate() semantics? It
> appears that all implementations return 0 or 1. You could teach the VFS to
> also recognise and act upon a -ve return value, and do this trickery within
> the autofs d_revalidate(), perhaps?
>

Now it occurs to me this is the only safe way to do this.
And a lot simpler.

Al, given this is such a heavily traveled piece of code, do you think
it would be acceptable to change the semantics of revalidate in this way.

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/