fix circular disk reference in blk-cgroup

Christoph Hellwig
2023-02-13T10:41:31Z

Hi all,

the third patch fixes a problem in haivng a circular disk reference
for blkgs. The first two patches clean up blk-throttle to avoid
queue->disk refernece that get torn down in disk_release but could
in theory be used in the pd_free handler.

Diffstat:
block/blk-cgroup.c | 12 +++++++++---
block/blk-throttle.c | 39 ++++++++++++++++-----------------------
include/linux/blkdev.h | 8 +++-----
3 files changed, 28 insertions(+), 31 deletions(-)