git: sys/vfs/autofs: Don't calculate dirent reclen twice

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Jan 31 02:52:35 PST 2019


commit 05b68237351e1dce945fc0eb4a125ece6b84e5bf
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Jan 30 14:50:41 2019 -0800

    sys/vfs/autofs: Don't calculate dirent reclen twice
    
    when autofs_readdir() may call autofs_dirent_reclen() after
    returned from autofs_readdir_one().

Summary of changes:
 sys/vfs/autofs/autofs_vnops.c | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/05b68237351e1dce945fc0eb4a125ece6b84e5bf


-- 
DragonFly BSD source repository


More information about the Commits mailing list