Date: Fri, 1 Apr 2022 03:43:51 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 823b7f6ae0fc - stable/12 - bio: make _bio_cflags match bio_cflags Message-ID: <202204010343.2313hphl042885@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=823b7f6ae0fcf82067ae87da8890e17b958f9ab8 commit 823b7f6ae0fcf82067ae87da8890e17b958f9ab8 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-02-23 21:28:16 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-01 03:43:35 +0000 bio: make _bio_cflags match bio_cflags While none of the in-tree geoms that modify the bio_cflags use the top half of the word, were they to do this in the future, we'd hit false positives for DIAGNOSTIC kernels. Make both uint16_t. MFC After: 1 week Sponsored by: Netflix (cherry picked from commit 077ab5bd43aaeb955d84c501ddddc7533f0a06b9) --- sys/sys/bio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/bio.h b/sys/sys/bio.h index 640d86ef134b..a828d24f9949 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -121,7 +121,7 @@ struct bio { #ifdef DIAGNOSTIC void *_bio_caller1; void *_bio_caller2; - uint8_t _bio_cflags; + uint16_t _bio_cflags; #endif #if defined(BUF_TRACKING) || defined(FULL_BUF_TRACKING) struct buf *bio_track_bp; /* Parent buf for tracking */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204010343.2313hphl042885>