block: Document that bio_op() uses the data type of bio.bi_opf
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 14 Sep 2016 08:44:12 +0000 (10:44 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 14 Sep 2016 14:48:26 +0000 (08:48 -0600)
commit637ca77bd1f7950538956c61dcd0c2e559905dbf
tree45c141b4940685563f86bdc5acfe80d9d0e12f98
parenta441b0d093b3690b7cc2cb30998358904d051db4
block: Document that bio_op() uses the data type of bio.bi_opf

Make it clear that the sizeof(unsigned int) expression in BIO_OP_SHIFT
refers to the bi_opf member of struct bio.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Damien Le Moal <damien.lemoal@hgst.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blk_types.h