aboutsummaryrefslogtreecommitdiff
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2023-12-21 08:05:38 +0100
committerGravatar Jens Axboe <axboe@kernel.dk> 2023-12-26 09:27:14 -0700
commit1c042f8d4bc342b7985b1de3d76836f1a1083b65 (patch)
tree7f6457a48af3a16093d9752f18d0fd4ded6d4c14 /block/blk-settings.c
parentdrbd: actlog: fix kernel-doc warnings and spelling (diff)
downloadlinux-1c042f8d4bc342b7985b1de3d76836f1a1083b65.tar.gz
linux-1c042f8d4bc342b7985b1de3d76836f1a1083b65.tar.bz2
linux-1c042f8d4bc342b7985b1de3d76836f1a1083b65.zip
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-settings.c')
0 files changed, 0 insertions, 0 deletions