summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-04 07:29:50 -0700
committerJens Axboe <axboe@kernel.dk>2022-05-04 18:29:52 -0600
commit7ecc56c62b27d93838ee67fc2c7a1c3c480aea04 (patch)
treeafab60eadb98d3a8a76c957ab39f47d5da3d99cc /block/blk-core.c
parent513616843d736fb7161b4460cdfe5aa825c5902c (diff)
block: allow passing a NULL bdev to bio_alloc_clone/bio_init_clone
Device mapper wants to allocate a bio before knowing the device it gets send to, so add explicit support for that. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@kernel.org> Link: https://lore.kernel.org/r/20220504142950.567582-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions