[PATCH v2 31/50] convert autofs

Linus Torvalds torvalds at linux-foundation.org
Tue Oct 28 16:32:28 AEDT 2025


On Mon, 27 Oct 2025 at 18:55, Al Viro <viro at zeniv.linux.org.uk> wrote:
>
> BTW, is there any reason why autofs_dir_unlink() does not update
> ctime of the parent directory?

An autofs 'rmdir' is really just an expire, isn't it? It doesn't
really change anything in the parent, and a lookup will just reinstate
the directory.

So I'd go the other way, and say that the strange thing is that it
changes mtime...

That said, exactly *because* it changes mtime, I think the real answer
is that none of this matters, and it's probably just an oversight, and
it could easily go either way.

               Linus


More information about the Linuxppc-dev mailing list