Refactor filesystem types list and fix bug.
commit2613053d50ad6f22186e88eca8b2944adb48ae69
authorMichael Neumann <mneumann@ntecs.de>
Wed, 17 Dec 2008 15:44:42 +0000 (17 15:44 +0000)
committerMichael Neumann <mneumann@ntecs.de>
Wed, 17 Dec 2008 15:44:42 +0000 (17 15:44 +0000)
tree98532b542fd9e42866049b4c63b0c491e5492d26
parentddbd4fa768905c84f5a47ce4b0f89a9d66c0df27
Refactor filesystem types list and fix bug.

Refactor the management of the filesystem types list (vfsconf) by
introducing some management functions. Reduce inter-module coupling.

This actually fixes a potential "bug" in vfs_register() which does not
compare the new VFS to register with the last entry from the list, i.e.
two (or more) sequential vfs_register() calls with the same argument
would succeed.
sys/kern/vfs_init.c
sys/kern/vfs_mount.c
sys/kern/vfs_subr.c
sys/kern/vfs_syscalls.c
sys/sys/mount.h