summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_export.c
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commit740a1973a62eaa8e1dc23e22f84dacb3346d303a (patch)
treeacf054a865eef37380f5ac3d3c07766b5bb234b0 /sys/kern/vfs_export.c
parentb4183771fd8ab7a5946fd38df04c1e24b1268bea (diff)
downloadsrc-test2-740a1973a62eaa8e1dc23e22f84dacb3346d303a.tar.gz
src-test2-740a1973a62eaa8e1dc23e22f84dacb3346d303a.zip
Notes
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r--sys/kern/vfs_export.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 670d999545ad..3d5292ecd291 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -95,7 +95,7 @@ int vttoif_tab[9] = {
S_IFSOCK, S_IFIFO, S_IFMT,
};
-static TAILQ_HEAD(freelst, vnode) vnode_free_list; /* vnode free list */
+static TAILQ_HEAD(freelst, struct vnode) vnode_free_list; /* vnode free list */
struct tobefreelist vnode_tobefree_list; /* vnode free list */
static u_long wantfreevnodes = 25;
@@ -149,7 +149,7 @@ SYSCTL_INT(_debug, OID_AUTO, rush_requests, CTLFLAG_RW, &stat_rush_requests, 0,
static int syncer_delayno = 0;
static long syncer_mask;
-LIST_HEAD(synclist, vnode);
+LIST_HEAD(synclist, struct vnode);
static struct synclist *syncer_workitem_pending;
int desiredvnodes;
@@ -453,7 +453,7 @@ getnewvnode(tag, mp, vops, vpp)
struct proc *p = curproc; /* XXX */
struct vnode *vp, *tvp, *nvp;
vm_object_t object;
- TAILQ_HEAD(freelst, vnode) vnode_tmp_list;
+ TAILQ_HEAD(freelst, struct vnode) vnode_tmp_list;
/*
* We take the least recently used vnode from the freelist
@@ -1851,7 +1851,7 @@ vgonel(vp, p)
*/
if ((vp->v_type == VBLK || vp->v_type == VCHR) && vp->v_rdev != NULL) {
simple_lock(&spechash_slock);
- SLIST_REMOVE(&vp->v_hashchain, vp, vnode, v_specnext);
+ SLIST_REMOVE(&vp->v_hashchain, vp, struct vnode, v_specnext);
freedev(vp->v_rdev);
simple_unlock(&spechash_slock);
vp->v_rdev = NULL;