aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2017-09-18 12:28:48 +0100
committerDoug Ledford <[email protected]>2017-09-22 13:17:32 -0400
commitcbafad87e1507044c7d442087d41d5e3d432cc4e (patch)
tree2db96c58dc48ba61b77fff25fdbec5998e6e43a0 /tools/perf/scripts/python/export-to-postgresql.py
parent06564f60859bdf7e73d70ae35d7e285e96ae9c46 (diff)
IB/mlx5: fix debugfs cleanup
If delay_drop_debugfs_init() fails in any of the operations to create debugfs, it is calling delay_drop_debugfs_cleanup() as part of its cleanup. But delay_drop_debugfs_cleanup() checks for 'dbg' and since we have not yet pointed 'dbg' to the debugfs we need to cleanup, the cleanup fails and we are left with stray debugfs elements and also a memory leak. Fixes: 4a5fd5d2965c ("IB/mlx5: Add necessary delay drop assignment") Signed-off-by: Sudip Mukherjee <[email protected]> Acked-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions