Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Use continue to denote the no-op loop to match n...
details: https://anonhg.NetBSD.org/src/rev/c1c05f0a926a
branches: trunk
changeset: 354340:c1c05f0a926a
user: maya <maya%NetBSD.org@localhost>
date: Mon Jun 12 15:02:32 2017 +0000
description:
Use continue to denote the no-op loop to match netbsd style
newline for extra clarity.
diffstat:
sys/ufs/lfs/lfs_segment.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r df80a81ce2db -r c1c05f0a926a sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Mon Jun 12 14:59:04 2017 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Mon Jun 12 15:02:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_segment.c,v 1.270 2017/06/10 05:29:36 maya Exp $ */
+/* $NetBSD: lfs_segment.c,v 1.271 2017/06/12 15:02:32 maya Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.270 2017/06/10 05:29:36 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.271 2017/06/12 15:02:32 maya Exp $");
#ifdef DEBUG
# define vndebug(vp, str) do { \
@@ -1381,7 +1381,8 @@
for (bp = LIST_FIRST(&vp->v_dirtyblkhd);
bp && LIST_NEXT(bp, b_vnbufs) != NULL;
bp = LIST_NEXT(bp, b_vnbufs))
- /* nothing */;
+ continue;
+
for (; bp && bp != BEG_OF_LIST; bp = nbp) {
nbp = BACK_BUF(bp);
#else /* LFS_NO_BACKBUF_HACK */
Home |
Main Index |
Thread Index |
Old Index