Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2024 12:02:51 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0166a12e580f - stable/13 - vtruncbuf: improve the check for meta buffer
Message-ID:  <202401121202.40CC2pZ3005727@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=0166a12e580fbacdba9f669065c43e98d3a93aca

commit 0166a12e580fbacdba9f669065c43e98d3a93aca
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-12-31 20:46:53 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-01-11 16:47:52 +0000

    vtruncbuf: improve the check for meta buffer
    
    (cherry picked from commit 2d33ad48bd37f27925e4c46c798f8f2d23a2b501)
---
 sys/kern/vfs_subr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index c9c76c903977..1166fd6c5389 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2569,7 +2569,7 @@ restart_unlocked:
 		 */
 restartsync:
 		TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
-			if (bp->b_lblkno > 0)
+			if (bp->b_lblkno >= 0)
 				continue;
 			/*
 			 * Since we hold the vnode lock this should only



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401121202.40CC2pZ3005727>