aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorHeinz Mauelshagen <[email protected]>2013-03-20 17:21:26 +0000
committerAlasdair G Kergon <[email protected]>2013-03-20 17:21:26 +0000
commitb978440b8db901aba0c4cd38c7c841c9b5cd9a7e (patch)
tree928f481942043a9a7ee0546f2388a18db14d1b9c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent617a0b89da4898d4cc990c9eb4bc9c0591c538a5 (diff)
dm cache: avoid calling policy destructor twice on error
If the cache policy's config values are not able to be set we must set the policy to NULL after destroying it in create_cache_policy() so we don't attempt to destroy it a second time later. Signed-off-by: Heinz Mauelshagen <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions