diff options
author | 2014-09-13 16:06:36 +0000 | |
---|---|---|
committer | 2014-09-13 16:06:36 +0000 | |
commit | abcbcc4d80a0ed0907ba123021478336e6ec4c4a (patch) | |
tree | d04a4f6443a0b5220bf8f6ccbe79d0224cf82c21 /sys/kern/spec_vnops.c | |
parent | document default EXTRACT_CASES support for *.tar.lzma (reminded by juanfra@) (diff) | |
download | wireguard-openbsd-abcbcc4d80a0ed0907ba123021478336e6ec4c4a.tar.xz wireguard-openbsd-abcbcc4d80a0ed0907ba123021478336e6ec4c4a.zip |
Replace all queue *_END macro calls except CIRCLEQ_END with NULL.
CIRCLEQ_* is deprecated and not called in the tree. The other queue types
have *_END macros which were added for symmetry with CIRCLEQ_END. They are
defined as NULL. There's no reason to keep the other *_END macro calls.
ok millert@
Diffstat (limited to 'sys/kern/spec_vnops.c')
-rw-r--r-- | sys/kern/spec_vnops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/spec_vnops.c b/sys/kern/spec_vnops.c index c4e8006353b..484e17a5e4b 100644 --- a/sys/kern/spec_vnops.c +++ b/sys/kern/spec_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spec_vnops.c,v 1.78 2013/10/30 03:16:49 guenther Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.79 2014/09/13 16:06:37 doug Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -423,8 +423,7 @@ spec_fsync(void *v) */ loop: s = splbio(); - for (bp = LIST_FIRST(&vp->v_dirtyblkhd); - bp != LIST_END(&vp->v_dirtyblkhd); bp = nbp) { + for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp != NULL; bp = nbp) { nbp = LIST_NEXT(bp, b_vnbufs); if ((bp->b_flags & B_BUSY)) continue; |