aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sched.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-02-24 08:24:05 +0100
committerJens Axboe <axboe@kernel.dk>2021-02-24 08:55:00 -0700
commitb90994c6ab623baf9268df9710692f14920ce9d2 (patch)
tree0b660d261f3f35cefad27fa700025fb4ba770a18 /block/blk-mq-sched.h
parentblock-crypto-fallback: use a bio_set for splitting bios (diff)
downloadlinux-dev-b90994c6ab623baf9268df9710692f14920ce9d2.tar.xz
linux-dev-b90994c6ab623baf9268df9710692f14920ce9d2.zip
block: fix bounce_clone_bio for passthrough bios
Now that bio_alloc_bioset does not fall back to kmalloc for a NULL bio_set, handle that case explicitly and simplify the calling conventions. Based on an earlier patch from Chaitanya Kulkarni. Fixes: 3175199ab0ac ("block: split bio_kmalloc from bio_alloc_bioset") Reported-by: Chaitanya Kulkarni <Chaitanya.Kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.h')
0 files changed, 0 insertions, 0 deletions