vgone , vgonel - prepare a vnode for reuse
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
vgone ();
and
vgonel ();
is that
vgone ();
locks the vnode interlock and then calls
vgonel ();
while
vgonel ();
expects the interlock to already be locked.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |