diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-04 09:37:50 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-04 09:37:50 +0000 |
| commit | b5a00bdb607c05b3699e549dea4a850607208086 (patch) | |
| tree | 43335b510ea078a656bcba2cf0a6c5c5f4d6794b | |
| parent | ecc14aae122671c892294055e4397e36382b6916 (diff) | |
Notes
| -rw-r--r-- | sys/sys/buf.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sys/sys/buf.h b/sys/sys/buf.h index 982785f9cc5c..3109639230d7 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -94,17 +94,16 @@ typedef unsigned char b_xflags_t; * D - Protected by an dependency implementation specific lock */ struct buf { - struct bio b_io; /* "Builtin" I/O request. */ -#define b_bcount b_io.bio_bcount -#define b_caller1 b_io.bio_caller1 -#define b_data b_io.bio_data -#define b_error b_io.bio_error -#define b_iocmd b_io.bio_cmd -#define b_ioflags b_io.bio_flags -#define b_iooffset b_io.bio_offset -#define b_resid b_io.bio_resid struct bufobj *b_bufobj; - unsigned b_magic; + long b_bcount; + void *b_caller1; + caddr_t b_data; + int b_error; + uint8_t b_iocmd; + uint8_t b_ioflags; + off_t b_iooffset; + long b_resid; + unsigned b_magic; #define B_MAGIC_BIO 0x10b10b10 #define B_MAGIC_NFS 0x67238234 void (*b_iodone)(struct buf *); |
