diff options
author | Kemeng Shi <shikemeng@huawei.com> | 2022-10-18 20:19:32 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-12-01 07:44:13 -0700 |
commit | 7a88b1a8263a8a0797a5e528b9cd3607e2462a3b (patch) | |
tree | 30e6233a9f5f236f8132bfc4c4c0cd33b25b6cc7 /block/blk-iocost.c | |
parent | 6c31be320c52bad07e0317d2565ae8a4e5dab03b (diff) | |
download | lwn-7a88b1a8263a8a0797a5e528b9cd3607e2462a3b.tar.gz lwn-7a88b1a8263a8a0797a5e528b9cd3607e2462a3b.zip |
blk-iocost: Correct comment in blk_iocost_init
There is no iocg_pd_init function. The pd_alloc_fn function pointer of
iocost policy is set with ioc_pd_init. Just correct it.
Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20221018121932.10792-6-shikemeng@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-iocost.c')
-rw-r--r-- | block/blk-iocost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-iocost.c b/block/blk-iocost.c index 1b1a2d0f5564..d1bdc12deaa7 100644 --- a/block/blk-iocost.c +++ b/block/blk-iocost.c @@ -2882,7 +2882,7 @@ static int blk_iocost_init(struct gendisk *disk) spin_unlock_irq(&ioc->lock); /* - * rqos must be added before activation to allow iocg_pd_init() to + * rqos must be added before activation to allow ioc_pd_init() to * lookup the ioc from q. This means that the rqos methods may get * called before policy activation completion, can't assume that the * target bio has an iocg associated and need to test for NULL iocg. |