diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-21 20:04:58 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-26 19:17:28 -0600 |
commit | cad9266abcef586aa95f6f4095781e3e55473f2a (patch) | |
tree | 5021d2e4071d0a70c02d21773100e12fd1dc7d43 /block/genhd.c | |
parent | 5f6dc7522ac2e1701c92f20b9a1a664736787728 (diff) | |
download | lwn-cad9266abcef586aa95f6f4095781e3e55473f2a.tar.gz lwn-cad9266abcef586aa95f6f4095781e3e55473f2a.zip |
blk-throttle: pass a gendisk to blk_throtl_cancel_bios
Pass the gendisk to blk_throtl_cancel_bios as part of moving the
blk-cgroup infrastructure to be gendisk based.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Herrmann <aherrmann@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220921180501.1539876-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c index f1af045fac2f..d6a21803a57e 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -626,7 +626,7 @@ void del_gendisk(struct gendisk *disk) pm_runtime_set_memalloc_noio(disk_to_dev(disk), false); device_del(disk_to_dev(disk)); - blk_throtl_cancel_bios(disk->queue); + blk_throtl_cancel_bios(disk); blk_sync_queue(q); blk_flush_integrity(); |