Loading...
db/mpool/FreeBSD/mpool.c Libc-997.90.3 Libc-825.26
--- Libc/Libc-997.90.3/db/mpool/FreeBSD/mpool.c
+++ Libc/Libc-825.26/db/mpool/FreeBSD/mpool.c
@@ -281,7 +281,7 @@
 
 	/* Walk the lru chain, flushing any dirty pages to disk. */
 	TAILQ_FOREACH(bp, &mp->lqh, q) {
-		if (bp->flags & MPOOL_DIRTY) {
+		if (bp->flags & MPOOL_DIRTY)
 			if (mpool_write(mp, bp) == RET_ERROR) {
 				return (RET_ERROR);
 			} else {
@@ -289,7 +289,6 @@
 				if (mp->pgin != NULL)
 					(mp->pgin)(mp->pgcookie, bp->pgno, bp->page);
 			}
-		}
 	}
 
 	/* Sync the file descriptor. */