aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/bio.h8
-rw-r--r--sys/sys/buf.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 8b3a5fcb6a37..37fefbfc37bd 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -77,10 +77,10 @@ typedef void bio_task_t(void *);
* The bio structure describes an I/O operation in the kernel.
*/
struct bio {
- uint8_t bio_cmd; /* I/O operation. */
- uint8_t bio_flags; /* General flags. */
- uint8_t bio_cflags; /* Private use by the consumer. */
- uint8_t bio_pflags; /* Private use by the provider. */
+ uint16_t bio_cmd; /* I/O operation. */
+ uint16_t bio_flags; /* General flags. */
+ uint16_t bio_cflags; /* Private use by the consumer. */
+ uint16_t bio_pflags; /* Private use by the provider. */
struct cdev *bio_dev; /* Device to do I/O on. */
struct disk *bio_disk; /* Valid below geom_disk.c only */
off_t bio_offset; /* Offset into file. */
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index 012493ca84dc..4255afdf6bcf 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -98,8 +98,8 @@ struct buf {
void *b_caller1;
caddr_t b_data;
int b_error;
- uint8_t b_iocmd; /* BIO_* bio_cmd from bio.h */
- uint8_t b_ioflags; /* BIO_* bio_flags from bio.h */
+ uint16_t b_iocmd; /* BIO_* bio_cmd from bio.h */
+ uint16_t b_ioflags; /* BIO_* bio_flags from bio.h */
off_t b_iooffset;
long b_resid;
void (*b_iodone)(struct buf *);