summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZizhi Wo <wozizhi@huawei.com>2026-07-25 10:25:02 +0800
committerJens Axboe <axboe@kernel.dk>2026-08-15 17:06:50 -0600
commit4ec26e8885161ce15b66957be638a08d786035cb (patch)
tree858a39dd02ccaf34de0b78ef6a50afba22a71f53 /tools/perf/scripts/python/task-analyzer.py
parentc9d293d6bb0575fcb1f3408129453187e2a28a4e (diff)
null_blk: move unregister_blkdev() after destroying dev in null_exit()
In null_exit(), unregister_blkdev() is called before the null_blk instances are destroyed, which is inconsistent with the cleanup order in null_init(). Move it after null_destroy_dev() so that teardown happens in the reverse order of initialization. No functional change intended. Suggested-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Zizhi Wo <wozizhi@huawei.com> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Link: https://patch.msgid.link/20260725022509.714271-4-wozizhi@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions