Simplify VFS initialization.
authorvisa <visa@openbsd.org>
Mon, 17 Sep 2018 14:56:37 +0000 (14:56 +0000)
committervisa <visa@openbsd.org>
Mon, 17 Sep 2018 14:56:37 +0000 (14:56 +0000)
commit2a8e6c51f70d8aea8ab0b5351f5054af434ce93b
treed26aadee843495d1fd844e1e13c1e30b0fdecbeb
parentf77e3cc333c40d544e7a78e77fa5731bfa60bf3a
Simplify VFS initialization.

Because loadable kernel modules are no longer, there is no need to
register or unregister filesystem implementations at runtime. Remove
vfs_register() and vfs_unregister(), and make vfsinit() call vfs_init
routines directly. Replace the linked list of vfsconf structs with
the vfsconflist[] array.

OK mpi@ bluhm@
sys/kern/vfs_init.c
sys/kern/vfs_subr.c
sys/sys/mount.h