]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove __blk_rq_unmap_user
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Aug 2020 15:37:46 +0000 (17:37 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Sep 2020 22:49:25 +0000 (16:49 -0600)
commit771062ac4c196c664a9f809faa05bc8eaacfc7e6
tree989730afd350f66d4192d0e927a7dee012d13a79
parentf6872fa3123be218d47efb8208282786610e735a
block: remove __blk_rq_unmap_user

Open code __blk_rq_unmap_user in the two callers.  Both never pass a NULL
bio, and one of them can use an existing local variable instead of the bio
flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c