diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-24 08:24:05 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-24 08:55:00 -0700 |
commit | b90994c6ab623baf9268df9710692f14920ce9d2 (patch) | |
tree | 0b660d261f3f35cefad27fa700025fb4ba770a18 /block/blk-map.c | |
parent | 5407334c53e9922c1c3fb28801e489d0b74f2c8d (diff) | |
download | linux-b90994c6ab623baf9268df9710692f14920ce9d2.tar.bz2 |
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-map.c')
0 files changed, 0 insertions, 0 deletions