Add comment about where b_iocmd and b_ioflags come from.

This commit is contained in:
imp 2016-04-14 04:16:31 +00:00
parent 5bebd6b6b3
commit e1c7eb93ff

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 *);