diff options
author | Christoph Hellwig <hch@lst.de> | 2023-02-14 19:33:08 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-02-14 22:24:09 +0100 |
commit | a06377c5d01eeeaa52ad979b62c3c72efcc3eff0 (patch) | |
tree | 135bc4e5b3bb9012dc139ba36650893f08872c84 /block/blk-iocost.c | |
parent | Revert "blk-cgroup: pass a gendisk to blkg_lookup" (diff) | |
download | linux-a06377c5d01eeeaa52ad979b62c3c72efcc3eff0.tar.xz linux-a06377c5d01eeeaa52ad979b62c3c72efcc3eff0.zip |
Revert "blk-cgroup: pin the gendisk in struct blkcg_gq"
This reverts commit 84d7d462b16dd5f0bf7c7ca9254bf81db2c952a2.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230214183308.1658775-6-hch@lst.de
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 7a2dc9dc8e3b..ff534e9d92dc 100644 --- a/block/blk-iocost.c +++ b/block/blk-iocost.c @@ -2947,7 +2947,7 @@ static void ioc_pd_init(struct blkg_policy_data *pd) { struct ioc_gq *iocg = pd_to_iocg(pd); struct blkcg_gq *blkg = pd_to_blkg(&iocg->pd); - struct ioc *ioc = q_to_ioc(blkg->disk->queue); + struct ioc *ioc = q_to_ioc(blkg->q); struct ioc_now now; struct blkcg_gq *tblkg; unsigned long flags; |