Add comment about where b_iocmd and b_ioflags come from.

This commit is contained in:
Warner Losh 2016-04-14 04:16:31 +00:00
parent f79bedf5ad
commit d303752b50

View File

@ -98,8 +98,8 @@ struct buf {
void *b_caller1;
caddr_t b_data;
int b_error;
uint8_t b_iocmd;
uint8_t b_ioflags;
uint8_t b_iocmd; /* BIO_* bio_cmd from bio.h */
uint8_t b_ioflags; /* BIO_* bio_flags from bio.h */
off_t b_iooffset;
long b_resid;
void (*b_iodone)(struct buf *);