summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-08-24 18:44:05 +0300
committerDavid Sterba <dsterba@suse.com>2018-10-15 18:23:38 +0300
commitaa144bfeaa7f87c536ab323edfe2692285343e68 (patch)
tree071a00c5aeb589f05f8aea309cb9d536a8a252aa /tools/perf/scripts/python/export-to-sqlite.py
parent9f6cbcbb09d0f2a73ccb9998f6ac34606da9c938 (diff)
downloadlinux-aa144bfeaa7f87c536ab323edfe2692285343e68.tar.xz
btrfs: dev-replace: avoid useless lock on error handling path
The exit sequence in btrfs_dev_replace_start does not allow to simply add a label to the right place so the error handling after starting transaction failure jumps there. Currently there's a lock that pairs with the unlock in the section, which is unnecessary and only raises questions. Add a variable to track the locking status and avoid the extra locking. Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions