aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWu Bo <[email protected]>2021-11-04 16:07:09 +0800
committerJens Axboe <[email protected]>2021-11-04 05:45:41 -0600
commit27548088ac628109f70eb0b1eb521d035844dba8 (patch)
treed7d34ad98a5b65bcd1ed3a058dc35f86b58f94e2 /tools/perf/util/trace-event-scripting.c
parent3aefb5ee843fbe4789d03bb181e190d462df95e4 (diff)
drbd: Fix double free problem in drbd_create_device
In drbd_create_device(), the 'out_no_io_page' lable has called blk_cleanup_disk() when return failed. So remove the 'out_cleanup_disk' lable to avoid double free the disk pointer. Fixes: e92ab4eda516 ("drbd: add error handling support for add_disk()") Signed-off-by: Wu Bo <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions