git: sys/kern: Retry nlookup if nresolve returned ESTALE
tkusumi at crater.dragonflybsd.org
Thu Jun 2 16:47:32 PDT 2016
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Thu May 19 03:07:27 2016 +0900
sys/kern: Retry nlookup if nresolve returned ESTALE
Make nlookup retry the whole thing if nresolve VOP returned ESTALE.
This will be used by autofs (in the next few commits).
This doesn't affect other filesystems, because no other filesystem
Autofs needs this because a target filesystem may get mounted under
the root directory of autofs while running nresolve VOP of autofs.
Autofs tells nlookup the topology has changed by returning ESTALE.
Unless nlookup retries the lookup, the result is obsolete.
Summary of changes:
sys/kern/vfs_nlookup.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
DragonFly BSD source repository
More information about the Commits