]> git.baikalelectronics.ru Git - kernel.git/commit
autofs4 - reinstate last used update on access
authorIan Kent <raven@themaw.net>
Thu, 24 Mar 2011 17:51:08 +0000 (01:51 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Mar 2011 18:54:34 +0000 (14:54 -0400)
commit04bc157d0cf17a2d2565aa9d66e456de117ee3a3
treeaec40f3721955394587fc4ad364606161bc98cc5
parent22403488495983e95db37b48bfb41b9860c8de4f
autofs4 - reinstate last used update on access

When direct (and offset) mounts were introduced the the last used
timeout could no longer be updated in ->d_revalidate(). This is
because covered direct mounts would be followed over without calling
the autofs file system. As a result the definition of the busyness
check for all entries was changed to be "actually busy" being an open
file or working directory within the automount. But now we have a call
back in the follow so the last used update on any access can be
re-instated. This requires DCACHE_MANAGE_TRANSIT to always be set.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/expire.c
fs/autofs4/root.c