Rechercher une page de manuel
vgone.9freebsd
Langue: en
Version: 308277 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
Sommaire
BSD mandoc
NAME
vgone , vgonel - prepare a vnode for reuseSYNOPSIS
In sys/param.h In sys/vnode.h Ft void Fn vgone struct vnode *vp Ft void Fn vgonel struct vnode *vp struct thread *tdDESCRIPTION
Fn vgone and Fn 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.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 being unmounted.
The difference between Fn vgone and Fn vgonel is that Fn vgone locks the vnode interlock and then calls Fn vgonel while Fn vgonel expects the interlock to already be locked.
AUTHORS
This manual page was written by An Chad David Aq davidc@acns.ab.ca .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre