DragonFly- master sys/kern vfs_init.c vfs_mount.c vfs_subr.c vfs_syscalls.c sys/sys mount.h

Michael Neumann mneumann at crater.dragonflybsd.org
Wed Dec 17 08:00:23 PST 2008

commit 2613053d50ad6f22186e88eca8b2944adb48ae69
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Wed Dec 17 15:44:42 2008 +0000

    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.

Summary of changes:
 sys/kern/vfs_init.c     |  132 +++++++++++++++++++++++++++++++++--------------
 sys/kern/vfs_mount.c    |    6 +--
 sys/kern/vfs_subr.c     |   45 +++++++++--------
 sys/kern/vfs_syscalls.c |   10 +---
 sys/sys/mount.h         |    9 ++-
 5 files changed, 127 insertions(+), 75 deletions(-)


DragonFly BSD source repository

More information about the Commits mailing list