VFS_UNMOUNT(9)

HOME || NAME SYNOPSIS DESCRIPTION SEE ALSO AUTHORS
NAME
     VFS_UNMOUNT -- unmount a file system
SYNOPSIS
     #include <sys/param.h>
     #include <sys/mount.h>
     #include <sys/vnode.h>

     int
     VFS_UNMOUNT(struct mount *mp, int mntflags, struct thread *td);
DESCRIPTION
     Unmount a file system.

     Its arguments are:

     mp        The file system.

     mntflags  Various flags.

     td        Thread which is unmounting the file system.

     If the MNT_FORCE flag is specified then open files should be forcibly
     closed.
SEE ALSO
     vflush(9), VFS(9), vnode(9)
AUTHORS
     This manual page was written by Doug Rabson.