vgone(9) linux man page | unix.com

Man Page: vgone

Operating Environment: linux

Section: 9

VGONE(9)						   BSD Kernel Developer's Manual						  VGONE(9)

NAME
vgone -- prepare a vnode for reuse SYNOPSIS
#include <sys/param.h> #include <sys/vnode.h> void vgone(struct vnode *vp); DESCRIPTION
The vgone() function prepares the vnode to be destroyed. The preparation includes the cleaning of all file system specific data and the removal from its mount point vnode list. If the vnode has a v_usecount of zero, and its VI_DOOMED flag is not set, it is moved to the head of the free list as in most cases the vnode is about to be reused, or its file system is being unmounted. The vgone() function takes an exclusively locked vnode, and returns with the vnode exclusively locked. SEE ALSO
vnode(9) AUTHORS
This manual page was written by Chad David <davidc@acns.ab.ca>. BSD
November 12, 2010 BSD
Related Man Pages
insmntque(9) - debian
insmntque1(9) - debian
vunref(9) - debian
vrele(9) - freebsd
insmntque(9) - freebsd
Similar Topics in the Unix Linux Community
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Scripts without shebang
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!
UNIX.com End of Year (EOY) Report (2019)