block: Use the new blk_opf_t type
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:32 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:30 +0000 (12:14 -0600)
commit16458cf3bd15e5624205df6e8a76b9a5363555f3
tree975a1367f2e553c170565379bfbcd83c7be21ff9
parent342a72a334073f163da924b69c3d3fb4685eb33a
block: Use the new blk_opf_t type

Use the new blk_opf_t type for arguments and variables that represent
request flags or a bitwise combination of a request operation and
request flags. Rename the function arguments and also a structure member
that hold a request operation and flags from 'rw' into 'opf'.

This patch does not change any functionality.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-7-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
14 files changed:
block/bio.c
block/blk-cgroup-rwstat.h
block/blk-core.c
block/blk-flush.c
block/blk-merge.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk-mq.h
block/blk-wbt.c
block/elevator.h
block/fops.c
include/linux/bio.h
include/linux/blk-mq.h
include/linux/blkdev.h