Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VGONE(9)                     OpenBSD Kernel Manual                    VGONE(9)

NAME
     vgone, vgonel - prepare a vnode for reuse

SYNOPSIS
     #include <sys/param.h>
     #include <sys/vnode.h>

     void
     vgone(struct vnode *vp);

     void
     vgonel(struct vnode *vp, struct proc *p);

DESCRIPTION
     vgone() and vgonel() prepare a vnode for reuse by another file system.
     The preparation includes the cleaning of all file system specific data
     and the removal from its mount point vnode list.

     The difference between vgone() and vgonel() is that vgone() locks the vn-
     ode interlock and then calls vgonel() while vgonel() expects the inter-
     lock to already be locked.

SEE ALSO
     vclean(9), vnode(9), vrecycle(9)

AUTHORS
     This man page was originally written by Chad David <davidc@acns.ab.ca>
     for FreeBSD.

OpenBSD 4.1                    November 21, 2001                             1

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=vgone&sektion=9&manpath=OpenBSD+4.1>

home | help