summaryrefslogtreecommitdiff
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-07-14 11:06:31 -0700
committerJens Axboe <axboe@kernel.dk>2022-07-14 12:14:30 -0600
commit342a72a334073f163da924b69c3d3fb4685eb33a (patch)
tree24305fcdf56552cc2a7e8aae25d8618a29aecfa1 /block/blk-lib.c
parent2d9b02be73ba8efba406b399a722b4e33614dd0e (diff)
downloadlwn-342a72a334073f163da924b69c3d3fb4685eb33a.tar.gz
lwn-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-lib.c')
0 files changed, 0 insertions, 0 deletions