sys/vfs/autofs: Cleanups
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 6 Mar 2018 18:27:04 +0000 (03:27 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 6 Mar 2018 19:15:45 +0000 (04:15 +0900)
commit662e8088622360d8af1155902a0f8b55a451a63d
tree91df56443f58de46ddeba2c92a4fcf16c58a634a
parent39e1f7d7f7a2444075c442cd94361e3f08572a29
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.)
sys/vfs/autofs/autofs.c
sys/vfs/autofs/autofs_vfsops.c
sys/vfs/autofs/autofs_vnops.c