From: Yu Kuai <yukuai3@xxxxxxxxxx> 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(-) -- 2.39.2