mbox series

[v4,0/2] fix blktrace debugfs entries leakage

Message ID 20230609083913.2254980-1-yukuai1@huaweicloud.com
Headers show
Series fix blktrace debugfs entries leakage | expand

Message

Yu Kuai June 9, 2023, 8:39 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

Changes in v4:
 - blk_trace_remove() will trigger build warning if blktrace config is
 not enabled, use blk_trace_shutdown() instead.

Changes in v3:
 - add a new patch to handle /dev/sg

Changes in v2:
 - cleanup bltkrace in disk_release() instead of blk_free_queue()

Yu Kuai (2):
  scsi: sg: fix blktrace debugfs entries leakage
  block: fix blktrace debugfs entries leakage

 block/genhd.c     |  7 ++++++-
 drivers/scsi/sg.c | 11 +++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)