MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mqfs_unmount

Function mqfs_unmount

freebsd/kern/uipc_mqueue.c:619–627  ·  view source on GitHub ↗

* Unmount a mqfs instance */

Source from the content-addressed store, hash-verified

617 * Unmount a mqfs instance
618 */
619static int
620mqfs_unmount(struct mount *mp, int mntflags)
621{
622 int error;
623
624 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0,
625 curthread);
626 return (error);
627}
628
629/*
630 * Return a root vnode

Callers

nothing calls this directly

Calls 1

vflushFunction · 0.85

Tested by

no test coverage detected