summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-04-11 11:21:18 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:07:16 +0200
commit1e7a14211bced7ac26f332b16338db88290e0ffd (patch)
tree3570d5fac36a496a83b9ad27bd73ea748ecaa344 /tools/perf/scripts/python
parentb25f0d0012d11f2fb3df855fb62b86e5f63fdd68 (diff)
downloadlinux-1e7a14211bced7ac26f332b16338db88290e0ffd.tar.gz
linux-1e7a14211bced7ac26f332b16338db88290e0ffd.zip
btrfs: Fix lock release order
Locks should generally be released in the oppposite order they are acquired. Generally lock acquisiton ordering is used to ensure deadlocks don't happen. However, as becomes more complicated it's best to also maintain proper unlock order so as to avoid possible dead locks. This was found by code inspection and doesn't necessarily lead to a deadlock scenario. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions