diff options
author | Nicky Chorley <ndchorley@gmail.com> | 2024-01-14 20:10:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-01-15 15:23:38 +0100 |
commit | 521277d12b5a75982d4f642d2ee22db8d7f986dd (patch) | |
tree | 47e394cc8f8c653ae41c47d83e7d361d4047e94d /block/blk-cgroup.c | |
parent | null_blk: Remove usage of the deprecated ida_simple_xx() API (diff) | |
download | linux-521277d12b5a75982d4f642d2ee22db8d7f986dd.tar.xz linux-521277d12b5a75982d4f642d2ee22db8d7f986dd.zip |
block: Correct a documentation comment in blk-cgroup.c
Commit 99e603874366
("blk-cgroup: pass a gendisk to the blkg allocation helpers") changed
blkg_alloc() to take a struct gendisk instead of a struct request_queue,
but the documentation comment still referred to q.
So, update that comment to refer to disk instead and fix a typo.
Signed-off-by: Nicky Chorley <ndchorley@gmail.com>
Link: https://lore.kernel.org/r/20240114191056.6992-1-ndchorley@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r-- | block/blk-cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index e303fd317313..ff93c385ba5a 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -300,7 +300,7 @@ static inline struct blkcg *blkcg_parent(struct blkcg *blkcg) * @disk: gendisk the new blkg is associated with * @gfp_mask: allocation mask to use * - * Allocate a new blkg assocating @blkcg and @q. + * Allocate a new blkg associating @blkcg and @disk. */ static struct blkcg_gq *blkg_alloc(struct blkcg *blkcg, struct gendisk *disk, gfp_t gfp_mask) |