diff options
author | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
commit | 961b97d43458f3c57241940cabebb3bedf7e4c00 (patch) | |
tree | 6014972d9b90b4e3a8b20dbea641a88cf6355c13 /sys/miscfs | |
parent | 06b64672180d9b04ae6d35db819c854df3c3c684 (diff) | |
download | FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz |
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.
Requested by: msmith and others
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/fdesc/fdesc.h | 2 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 2 | ||||
-rw-r--r-- | sys/miscfs/fifofs/fifo_vnops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null.h | 2 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null_subr.c | 2 | ||||
-rw-r--r-- | sys/miscfs/umapfs/umap.h | 2 | ||||
-rw-r--r-- | sys/miscfs/umapfs/umap_subr.c | 2 | ||||
-rw-r--r-- | sys/miscfs/union/union.h | 2 | ||||
-rw-r--r-- | sys/miscfs/union/union_subr.c | 2 |
9 files changed, 10 insertions, 10 deletions
diff --git a/sys/miscfs/fdesc/fdesc.h b/sys/miscfs/fdesc/fdesc.h index cbd45fa..60b6006 100644 --- a/sys/miscfs/fdesc/fdesc.h +++ b/sys/miscfs/fdesc/fdesc.h @@ -52,7 +52,7 @@ typedef enum { } fdntype; struct fdescnode { - LIST_ENTRY(struct fdescnode) fd_hash; /* Hash list */ + LIST_ENTRY(fdescnode) fd_hash; /* Hash list */ struct vnode *fd_vnode; /* Back ptr to vnode */ fdntype fd_type; /* Type of this node */ unsigned fd_fd; /* Fd to be dup'ed */ diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 0f00f1c..368d844 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -67,7 +67,7 @@ static vop_t **fdesc_vnodeop_p; #define NFDCACHE 4 #define FD_NHASH(ix) \ (&fdhashtbl[(ix) & fdhash]) -static LIST_HEAD(fdhashhead, struct fdescnode) *fdhashtbl; +static LIST_HEAD(fdhashhead, fdescnode) *fdhashtbl; static u_long fdhash; static int fdesc_badop __P((void)); diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c index a1b82c9..5bd13a7 100644 --- a/sys/miscfs/fifofs/fifo_vnops.c +++ b/sys/miscfs/fifofs/fifo_vnops.c @@ -372,7 +372,7 @@ filt_fifordetach(struct knote *kn) struct vnode *vn = (struct vnode *)kn->kn_fp->f_data; struct socket *so = (struct socket *)vn->v_fifoinfo->fi_readsock; - SLIST_REMOVE(&so->so_rcv.sb_sel.si_note, kn, struct knote, kn_selnext); + SLIST_REMOVE(&so->so_rcv.sb_sel.si_note, kn, knote, kn_selnext); if (SLIST_EMPTY(&so->so_rcv.sb_sel.si_note)) so->so_rcv.sb_flags &= ~SB_KNOTE; } @@ -409,7 +409,7 @@ filt_fifowdetach(struct knote *kn) struct vnode *vn = (struct vnode *)kn->kn_fp->f_data; struct socket *so = (struct socket *)vn->v_fifoinfo->fi_readsock; - SLIST_REMOVE(&so->so_snd.sb_sel.si_note, kn, struct knote, kn_selnext); + SLIST_REMOVE(&so->so_snd.sb_sel.si_note, kn, knote, kn_selnext); if (SLIST_EMPTY(&so->so_snd.sb_sel.si_note)) so->so_snd.sb_flags &= ~SB_KNOTE; } diff --git a/sys/miscfs/nullfs/null.h b/sys/miscfs/nullfs/null.h index 8747230..2b7ed51 100644 --- a/sys/miscfs/nullfs/null.h +++ b/sys/miscfs/nullfs/null.h @@ -52,7 +52,7 @@ struct null_mount { * A cache of vnode references */ struct null_node { - LIST_ENTRY(struct null_node) null_hash; /* Hash list */ + LIST_ENTRY(null_node) null_hash; /* Hash list */ struct vnode *null_lowervp; /* VREFed once */ struct vnode *null_vnode; /* Back pointer */ }; diff --git a/sys/miscfs/nullfs/null_subr.c b/sys/miscfs/nullfs/null_subr.c index 7c4f669..ad37a1e 100644 --- a/sys/miscfs/nullfs/null_subr.c +++ b/sys/miscfs/nullfs/null_subr.c @@ -59,7 +59,7 @@ #define NULL_NHASH(vp) \ (&null_node_hashtbl[(((uintptr_t)vp)>>LOG2_SIZEVNODE) & null_node_hash]) -static LIST_HEAD(null_node_hashhead, struct null_node) *null_node_hashtbl; +static LIST_HEAD(null_node_hashhead, null_node) *null_node_hashtbl; static u_long null_node_hash; static int null_node_alloc __P((struct mount *mp, struct vnode *lowervp, diff --git a/sys/miscfs/umapfs/umap.h b/sys/miscfs/umapfs/umap.h index 0964614..eb562ed 100644 --- a/sys/miscfs/umapfs/umap.h +++ b/sys/miscfs/umapfs/umap.h @@ -67,7 +67,7 @@ struct umap_mount { * A cache of vnode references */ struct umap_node { - LIST_ENTRY(struct umap_node) umap_hash; /* Hash list */ + LIST_ENTRY(umap_node) umap_hash; /* Hash list */ struct vnode *umap_lowervp; /* Aliased vnode - VREFed once */ struct vnode *umap_vnode; /* Back pointer to vnode/umap_node */ }; diff --git a/sys/miscfs/umapfs/umap_subr.c b/sys/miscfs/umapfs/umap_subr.c index 0ec9a43..6f08513 100644 --- a/sys/miscfs/umapfs/umap_subr.c +++ b/sys/miscfs/umapfs/umap_subr.c @@ -60,7 +60,7 @@ #define UMAP_NHASH(vp) \ (&umap_node_hashtbl \ [((uintptr_t)(void *)(vp) >> LOG2_SIZEVNODE) & umap_node_hash]) -static LIST_HEAD(umap_node_hashhead, struct umap_node) *umap_node_hashtbl; +static LIST_HEAD(umap_node_hashhead, umap_node) *umap_node_hashtbl; static u_long umap_node_hash; static u_long umap_findid __P((u_long id, u_long map[][2], int nentries)); diff --git a/sys/miscfs/union/union.h b/sys/miscfs/union/union.h index 65be0ab..a720d41 100644 --- a/sys/miscfs/union/union.h +++ b/sys/miscfs/union/union.h @@ -79,7 +79,7 @@ struct union_mount { */ struct union_node { struct lock un_lock; - LIST_ENTRY(struct union_node) un_cache; /* Hash chain */ + LIST_ENTRY(union_node) un_cache; /* Hash chain */ struct vnode *un_vnode; /* Back pointer */ struct vnode *un_uppervp; /* overlaying object */ struct vnode *un_lowervp; /* underlying object */ diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c index 4d4c2fa..6b88bef 100644 --- a/sys/miscfs/union/union_subr.c +++ b/sys/miscfs/union/union_subr.c @@ -67,7 +67,7 @@ extern int union_init __P((void)); #define UNION_HASH(u, l) \ (((((uintptr_t) (u)) + ((uintptr_t) l)) >> 8) & (NHASH-1)) -static LIST_HEAD(unhead, struct union_node) unhead[NHASH]; +static LIST_HEAD(unhead, union_node) unhead[NHASH]; static int unvplock[NHASH]; static void union_dircache_r __P((struct vnode *vp, struct vnode ***vppp, |