]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Don't make vgonel() globally visible, we want to change its prototype
authorjeff <jeff@FreeBSD.org>
Mon, 13 Jun 2005 06:26:55 +0000 (06:26 +0000)
committerjeff <jeff@FreeBSD.org>
Mon, 13 Jun 2005 06:26:55 +0000 (06:26 +0000)
commit7a825fb4571a4a801e6216d71f9ef2f76fe66ff9
tree990d355df281b698191ba75c236b2e80f313913b
parent22b5cc07b0583b989f4440150b8b32a38bd232b7
 - Don't make vgonel() globally visible, we want to change its prototype
   anyway and it's not used outside of vfs_subr.c.
 - Change vgonel() to accept a parameter which determines whether or not
   we'll put the vnode on the free list when we're done.
 - Use the new vgonel() parameter rather than VI_DOOMED to signal our
   intentions in vtryrecycle().
 - In vgonel() return if VI_DOOMED is already set, this vnode has already
   been reclaimed.

Sponsored by: Isilon Systems, Inc.
sys/kern/vfs_subr.c
sys/sys/vnode.h