Module Name: src Committed By: riastradh Date: Sat Dec 7 02:13:30 UTC 2024
Modified Files: src/sys/kern: vfs_bio.c Log Message: vfs_bio.c: Fix space-before-tab in indentation. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.304 -r1.305 src/sys/kern/vfs_bio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/vfs_bio.c diff -u src/sys/kern/vfs_bio.c:1.304 src/sys/kern/vfs_bio.c:1.305 --- src/sys/kern/vfs_bio.c:1.304 Sat Dec 7 02:11:42 2024 +++ src/sys/kern/vfs_bio.c Sat Dec 7 02:13:30 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_bio.c,v 1.304 2024/12/07 02:11:42 riastradh Exp $ */ +/* $NetBSD: vfs_bio.c,v 1.305 2024/12/07 02:13:30 riastradh Exp $ */ /*- * Copyright (c) 2007, 2008, 2009, 2019, 2020 The NetBSD Foundation, Inc. @@ -123,7 +123,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.304 2024/12/07 02:11:42 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.305 2024/12/07 02:13:30 riastradh Exp $"); #ifdef _KERNEL_OPT #include "opt_biohist.h" @@ -1189,8 +1189,8 @@ incore(struct vnode *vp, daddr_t blkno) LIST_FOREACH(bp, BUFHASH(vp, blkno), b_hash) { if (bp->b_lblkno == blkno && bp->b_vp == vp && !ISSET(bp->b_cflags, BC_INVAL)) { - KASSERT(bp->b_objlock == vp->v_interlock); - return (bp); + KASSERT(bp->b_objlock == vp->v_interlock); + return (bp); } } @@ -1431,7 +1431,7 @@ start: } } if (bp != NULL) { - KASSERT(!ISSET(bp->b_cflags, BC_BUSY) || + KASSERT(!ISSET(bp->b_cflags, BC_BUSY) || ISSET(bp->b_cflags, BC_VFLUSH)); bremfree(bp); @@ -1474,7 +1474,7 @@ start: } KASSERT(ISSET(bp->b_cflags, BC_BUSY)); - KASSERT(!cv_has_waiters(&bp->b_done)); + KASSERT(!cv_has_waiters(&bp->b_done)); /* * If buffer was a delayed write, start it and return NULL