+4
−0
Loading
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAGRKP CVE: NA ---------------------------------------- Commit 99d055b4 ("block: remove per-disk debugfs files in blk_unregister_queue") move blk_trace_shutdown() from blk_release_queue() to blk_unregister_queue(). However, blktrace can still be enabled through ioctl after blk_unregister_queue(), and blktrace will be leaked in this case. Fix the problem by calling blk_trace_shutdown() in blk_release_queue(). Signed-off-by:Yu Kuai <yukuai3@huawei.com>