aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-11-15 22:10:45 +0800
committerJens Axboe <[email protected]>2022-11-16 15:19:53 -0700
commitd90db3b1c8676bc88b4309c5a571333de2263b8e (patch)
treebf30d673b8f05f7fda454466d1aab0da41d188ef /tools/perf/scripts/python/stackcollapse.py
parent26edb30dd1c0c9be11fa676b4f330ada7b794ba6 (diff)
block: clear ->slave_dir when dropping the main slave_dir reference
Zero out the pointer to ->slave_dir so that the holder code doesn't incorrectly treat the object as alive when add_disk failed or after del_gendisk was called. Fixes: 89f871af1b26 ("dm: delay registering the gendisk") Reported-by: Yu Kuai <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Yu Kuai <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions