]> www.infradead.org Git - users/hch/block.git/commit
blk-cgroup: stop abusing get_gendisk get_gendisk-abuses
authorChristoph Hellwig <hch@lst.de>
Mon, 31 Aug 2020 13:31:44 +0000 (15:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 23 Sep 2020 18:24:53 +0000 (20:24 +0200)
commit32e4b72a3b1e43509f02188bbb4a5bfa2c8436ca
treea66b3d6cc7b8d661370fd35c9bddf1516a440c4d
parent1f910b4bf5e18048a461d146caa0bbec8586f7ad
blk-cgroup: stop abusing get_gendisk

Properly open the device instead of relying on deep internals by
using get_gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-cgroup.c
block/blk-iocost.c
include/linux/blk-cgroup.h