]> git.baikalelectronics.ru Git - kernel.git/commit
dm: retun the clone bio from alloc_tio
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Feb 2022 16:01:03 +0000 (17:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Feb 2022 14:43:17 +0000 (07:43 -0700)
commit863cb933a5c48ca07055a4da6789614b0edce2af
tree707795d57c22d5a2bb55b37ace79efaf0345fa89
parent0d4d711dcc4f68e8f555a92f03fe6cc7ad88f6d4
dm: retun the clone bio from alloc_tio

Return the clone bio embedded into the tio as that is what the callers
actually want.  Similar for the free side.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220202160109.108149-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm.c