summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2019-05-02 13:48:11 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-02 15:51:52 -0600
commit273938bf7ae92112e646f9a46b39aa74b64be4e8 (patch)
tree2effd617d56fa46469c2687f3f43cd736d0fd058
parent2d5abb9a1e8e92b25e781f0c3537a5b3b4b2f033 (diff)
downloadlinux-273938bf7ae92112e646f9a46b39aa74b64be4e8.tar.bz2
block: fix function name in comment
The comment was out of date. Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Raul E Rangel <rrangel@chromium.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/blk-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 4f15adfbab29..c9bf9b92d2db 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -2063,7 +2063,7 @@ void blk_mq_free_rqs(struct blk_mq_tag_set *set, struct blk_mq_tags *tags,
list_del_init(&page->lru);
/*
* Remove kmemleak object previously allocated in
- * blk_mq_init_rq_map().
+ * blk_mq_alloc_rqs().
*/
kmemleak_free(page_address(page));
__free_pages(page, page->private);