summaryrefslogtreecommitdiffstats
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-06-13 06:26:55 +0000
committerjeff <jeff@FreeBSD.org>2005-06-13 06:26:55 +0000
commit7a825fb4571a4a801e6216d71f9ef2f76fe66ff9 (patch)
tree990d355df281b698191ba75c236b2e80f313913b /sys/sys/vnode.h
parent22b5cc07b0583b989f4440150b8b32a38bd232b7 (diff)
downloadFreeBSD-src-7a825fb4571a4a801e6216d71f9ef2f76fe66ff9.zip
FreeBSD-src-7a825fb4571a4a801e6216d71f9ef2f76fe66ff9.tar.gz
- 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.
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index fce277f..b201f6d 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -599,7 +599,6 @@ void vfs_rm_vnodeops(const void *);
int vflush(struct mount *mp, int rootrefs, int flags, struct thread *td);
int vget(struct vnode *vp, int lockflag, struct thread *td);
void vgone(struct vnode *vp);
-void vgonel(struct vnode *vp, struct thread *td);
void vhold(struct vnode *);
void vholdl(struct vnode *);
int vinvalbuf(struct vnode *vp, int save,
OpenPOWER on IntegriCloud