diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2006-03-01 19:01:58 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2006-03-01 19:01:58 +0000 |
commit | 92ee312dd4c08cb7072538412c1bf3c8123bab38 (patch) | |
tree | 7fa6b98f653ee9e64e9c9fe1a3c07e376a2b6e4d /sys/sys/bio.h | |
parent | 9afd3aec6699ac9bee9c637a590fd93bfe67e640 (diff) | |
download | src-92ee312dd4c08cb7072538412c1bf3c8123bab38.tar.gz src-92ee312dd4c08cb7072538412c1bf3c8123bab38.zip |
Assert proper use of bio_caller1, bio_caller2, bio_cflags, bio_driver1,
bio_driver2 and bio_pflags fields.
Reviewed by: phk
Notes
Notes:
svn path=/head/; revision=156170
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r-- | sys/sys/bio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h index fa1756145b0c..2dbdfb9946ee 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -78,6 +78,11 @@ struct bio { bio_task_t *bio_task; /* Task_queue handler */ void *bio_task_arg; /* Argument to above */ +#ifdef DIAGNOSTIC + void *_bio_caller1; + void *_bio_caller2; + uint8_t _bio_cflags; +#endif /* XXX: these go away when bio chaining is introduced */ daddr_t bio_pblkno; /* physical block number */ |