summaryrefslogtreecommitdiff
path: root/block/blk-wbt.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-21 08:05:38 +0100
committerJens Axboe <axboe@kernel.dk>2023-12-26 09:27:14 -0700
commit1c042f8d4bc342b7985b1de3d76836f1a1083b65 (patch)
tree7f6457a48af3a16093d9752f18d0fd4ded6d4c14 /block/blk-wbt.h
parent8aabc11c8f4e0a57661a07f985ddc8a626ef9148 (diff)
block: reject invalid operation in submit_bio_noacct
submit_bio_noacct allows completely invalid operations, or operations that are not supported in the bio path. Extent the existing switch statement to rejcect all invalid types. Move the code point for REQ_OP_ZONE_APPEND so that it's not right in the middle of the zone management operations and the switch statement can follow the numerical order of the operations. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20231221070538.1112446-1-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions