OSDN Git Service

block: fix function name in comment
authorRaul E Rangel <rrangel@chromium.org>
Thu, 2 May 2019 19:48:11 +0000 (13:48 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 May 2019 21:51:52 +0000 (15:51 -0600)
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>
block/blk-mq.c

index 4f15adf..c9bf9b9 100644 (file)
@@ -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);