git: sys/vfs/autofs: Cleanups

2018-07-24 Thread Tomohiro Kusumi


commit 74565ee06d258f57594797cafc26efc65aa1b4a3
Author: Tomohiro Kusumi 
Date:   Sun Jul 22 09:06:47 2018 -0700

sys/vfs/autofs: Cleanups

Summary of changes:
 sys/vfs/autofs/autofs.c| 44 +-
 sys/vfs/autofs/autofs_vfsops.c | 15 ++
 sys/vfs/autofs/autofs_vnops.c  | 35 +++--
 3 files changed, 40 insertions(+), 54 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/74565ee06d258f57594797cafc26efc65aa1b4a3


-- 
DragonFly BSD source repository


git: sys/vfs/autofs: Cleanups (sync with NetBSD and OpenBSD)

2018-03-26 Thread Tomohiro Kusumi

commit add630f0972670974657514385cc9a70e241cdff
Author: Tomohiro Kusumi 
Date:   Tue Mar 27 00:12:59 2018 +0900

sys/vfs/autofs: Cleanups (sync with NetBSD and OpenBSD)

FreeBSD has these in autofs.c, but only vfsops needs init/uninit.

Summary of changes:
 sys/vfs/autofs/autofs.c| 91 +-
 sys/vfs/autofs/autofs.h|  4 +-
 sys/vfs/autofs/autofs_vfsops.c | 89 -
 sys/vfs/autofs/autofs_vnops.c  |  2 -
 4 files changed, 91 insertions(+), 95 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/add630f0972670974657514385cc9a70e241cdff


-- 
DragonFly BSD source repository


git: sys/vfs/autofs: Cleanups

2018-03-06 Thread Tomohiro Kusumi

commit 662e8088622360d8af1155902a0f8b55a451a63d
Author: Tomohiro Kusumi 
Date:   Wed Mar 7 03:27:04 2018 +0900

sys/vfs/autofs: Cleanups

Move local varaibles to inner scopes where possible.
The existing local variable declarations are mostly from FreeBSD,
but I've also changed NetBSD autofs the way this commit does.

(Don't do this for autofs userspace though. Increasing diff from
FreeBSD for non functional thing like this is much less important,
whereas kernel side is basically a rewrite.)

Summary of changes:
 sys/vfs/autofs/autofs.c| 20 +++-
 sys/vfs/autofs/autofs_vfsops.c | 10 ++
 sys/vfs/autofs/autofs_vnops.c  |  5 ++---
 3 files changed, 19 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/662e8088622360d8af1155902a0f8b55a451a63d


-- 
DragonFly BSD source repository


git: sys/vfs/autofs: Cleanups

2018-02-13 Thread Tomohiro Kusumi

commit b112b66964202d7e2d748cc4e4dc25e0fa779f82
Author: Tomohiro Kusumi 
Date:   Wed Feb 14 02:10:39 2018 +0900

sys/vfs/autofs: Cleanups

Summary of changes:
 sys/vfs/autofs/autofs.c   | 2 +-
 sys/vfs/autofs/autofs_vnops.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b112b66964202d7e2d748cc4e4dc25e0fa779f82


-- 
DragonFly BSD source repository


git: sys/vfs/autofs: Cleanups

2018-01-07 Thread Tomohiro Kusumi

commit caaec4e303cff867f420c4e4d2821b7d6ac4638e
Author: Tomohiro Kusumi 
Date:   Sun Jan 7 18:51:52 2018 +0200

sys/vfs/autofs: Cleanups

Summary of changes:
 sys/vfs/autofs/autofs.h   | 13 +++--
 sys/vfs/autofs/autofs_mount.h |  4 
 sys/vfs/autofs/autofs_vnops.c | 20 +++-
 usr.sbin/autofs/automountd.c  |  1 -
 4 files changed, 22 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/caaec4e303cff867f420c4e4d2821b7d6ac4638e


-- 
DragonFly BSD source repository