git: sys/kern: Make nlookup() keep ESTALE on retry

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Jun 7 21:40:39 PDT 2016


commit 24599d0c69a0caf1f86a7fca6b971e5ee2dc741f
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Jun 8 11:19:43 2016 +0900

    sys/kern: Make nlookup() keep ESTALE on retry
    
    This basically doesn't happen with autofs, but keep the return
    value with ESTALE instead of updating it with ENOENT on retry.
    
    01:30 (dillon) though you might want to return ESTALE if the second try fails
    01:30 (dillon) instead of ENOENT
    01:30 (tkusumi) why ?
    01:30 (dillon) so the user can distinguish between the two

Summary of changes:
 sys/kern/vfs_nlookup.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/24599d0c69a0caf1f86a7fca6b971e5ee2dc741f


-- 
DragonFly BSD source repository


More information about the Commits mailing list