ebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: khng X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 725f4b108d54dcf84ee8bb30dfb223cbcce989cc Auto-Submitted: auto-generated Date: Mon, 22 Dec 2025 02:07:55 +0000 Message-Id: <6948a7fb.36708.657d0ac0@gitrepo.freebsd.org> The branch stable/15 has been updated by khng: URL: https://cgit.FreeBSD.org/src/commit/?id=725f4b108d54dcf84ee8bb30dfb223cbcce989cc commit 725f4b108d54dcf84ee8bb30dfb223cbcce989cc Author: Ka Ho Ng AuthorDate: 2025-12-22 00:52:56 +0000 Commit: Ka Ho Ng CommitDate: 2025-12-22 02:07:03 +0000 geom(9): unset the BIO_ERROR_COMPAT flag correctly Fixes: 112c453ba910 Approved by: re (cperciva) --- sys/kern/vfs_bio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index c02aa30fb03a..dc90bd3add22 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -4479,7 +4479,7 @@ biodone(struct bio *bp) bp->bio_error = bp->bio_error_compat; bp->bio_flags |= BIO_ERROR; bp->bio_error_compat = 0; - bp->bio_flags &= BIO_ERROR_COMPAT; + bp->bio_flags &= ~BIO_ERROR_COMPAT; } /* @@ -4524,7 +4524,7 @@ biodone(struct bio *bp) } done(bp); bp->bio_error_compat = 0; - bp->bio_flags &= BIO_ERROR_COMPAT; + bp->bio_flags &= ~BIO_ERROR_COMPAT; } }