projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470e900
)
block: rename bio_map_put to blk_mq_map_bio_put
author
Anuj Gupta
<anuj20.g@samsung.com>
Fri, 30 Sep 2022 06:27:45 +0000
(11:57 +0530)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 30 Sep 2022 13:51:13 +0000
(07:51 -0600)
This patch renames existing bio_map_put function to blk_mq_map_bio_put.
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link:
https://lore.kernel.org/r/20220930062749.152261-9-anuj20.g@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c
patch
|
blob
|
history
diff --git
a/block/blk-map.c
b/block/blk-map.c
index
0e37bbe
..
84b13a4
100644
(file)
--- a/
block/blk-map.c
+++ b/
block/blk-map.c
@@
-231,7
+231,7
@@
out_bmd:
return ret;
}
-static void b
io_map
_put(struct bio *bio)
+static void b
lk_mq_map_bio
_put(struct bio *bio)
{
if (bio->bi_opf & REQ_ALLOC_CACHE) {
bio_put(bio);
@@
-331,7
+331,7
@@
static int bio_map_user_iov(struct request *rq, struct iov_iter *iter,
out_unmap:
bio_release_pages(bio, false);
- b
io_map
_put(bio);
+ b
lk_mq_map_bio
_put(bio);
return ret;
}
@@
-672,7
+672,7
@@
int blk_rq_unmap_user(struct bio *bio)
next_bio = bio;
bio = bio->bi_next;
- b
io_map
_put(next_bio);
+ b
lk_mq_map_bio
_put(next_bio);
}
return ret;