]> git.baikalelectronics.ru Git - kernel.git/commit
dm: remove dm_dispatch_clone_request
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Feb 2022 10:05:40 +0000 (11:05 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Feb 2022 02:39:10 +0000 (19:39 -0700)
commit9486724c80016b8f7126f206117a97a9da541b46
tree553243c6c9ef1d556f919bb259c1fdb53be544bc
parent145cddf64dffd1f250d91bbfaa5a40bc0c751d33
dm: remove dm_dispatch_clone_request

Fold dm_dispatch_clone_request into it's only caller, and use a switch
statement to single dispatch for the handling of the different return
values from blk_insert_cloned_request.

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