diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-02-23 21:28:16 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-02-23 21:35:52 +0000 |
commit | 077ab5bd43aaeb955d84c501ddddc7533f0a06b9 (patch) | |
tree | ca1a74210c3f357a8759b56d87964f6d91ea058c | |
parent | a43b0aca125e384dfd0bd9467baa033f01f00b40 (diff) | |
download | src-077ab5bd43aaeb955d84c501ddddc7533f0a06b9.tar.gz src-077ab5bd43aaeb955d84c501ddddc7533f0a06b9.zip |
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
-rw-r--r-- | sys/sys/bio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h index 90430b1e7099..e23c2f845e6c 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -126,7 +126,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 */ |