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)
commit3c3199852905ceb90a70e98777e71d369a5f0823
treeaec40f3721955394587fc4ad364606161bc98cc5
parent62a7375e5d77d654695297c4b39d5d740d901184
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