From: Yu Kuai <yukuai3@xxxxxxxxxx> Changes in v5: - blk_trace_shutdown() can't be used for module, add a new patch to use inline function for blk_trace_remove() to fix build warning from v3. - add review tag for patch 2,3 that is the same from v3. 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 (3): blktrace: use inline function for blk_trace_remove() while blktrace is disabled scsi: sg: fix blktrace debugfs entries leakage block: fix blktrace debugfs entries leakage block/genhd.c | 5 ++++- drivers/scsi/sg.c | 9 +++++++++ include/linux/blktrace_api.h | 6 +++++- 3 files changed, 18 insertions(+), 2 deletions(-) -- 2.39.2