VFLUSH(9) | Kernel Developer's Manual | VFLUSH(9) |
vflush
— flush
vnodes for a mount point
#include
<sys/param.h>
#include <sys/vnode.h>
int
vflush
(struct
mount *mp, struct vnode
*skipvp, int
flags);
The
vflush
()
function removes any vnodes in the vnode table that belong to the given
mount structure.
Its arguments are:
FORCECLOSE
SKIPSYSTEM
VSYSTEM
flag set will
be skipped.WRITECLOSE
A value of 0 is returned if the flush is successful; otherwise,
EBUSY
will be returned.
This man page was originally written by Chad David <davidc@acns.ab.ca> for FreeBSD.
November 14, 2020 | OpenBSD-current |