summaryrefslogtreecommitdiffstats
path: root/block/blk-flush.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-07-14 20:06:31 +0200
committerJens Axboe <axboe@kernel.dk>2022-07-14 20:14:30 +0200
commit342a72a334073f163da924b69c3d3fb4685eb33a (patch)
tree24305fcdf56552cc2a7e8aae25d8618a29aecfa1 /block/blk-flush.c
parentblock: Change the type of req_op() and bio_op() into enum req_op (diff)
downloadlinux-342a72a334073f163da924b69c3d3fb4685eb33a.tar.xz
linux-342a72a334073f163da924b69c3d3fb4685eb33a.zip
block: Introduce the type blk_opf_t
Introduce the type blk_opf_t for the request operation and flags (REQ_OP_* and REQ_*). This type will be used to improve documentation of the block layer code and also to allow sparse to verify whether request flags are used correctly. 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-6-bvanassche@acm.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions