summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-08 20:20:27 +0300
committerDavid Sterba <dsterba@suse.com>2023-10-12 17:44:06 +0300
commit7cce0d690d4e4e3278bd4cf3fd3a168ae62a1419 (patch)
treecabfcd36f8558b2dc6494dd50bc4b435ee96779a /tools/perf/scripts/python/task-analyzer.py
parent1df6b3c06089dd020e31f134adb124de6e315e6a (diff)
downloadlinux-7cce0d690d4e4e3278bd4cf3fd3a168ae62a1419.tar.xz
btrfs: initialize key where it's used when running delayed data ref
At run_delayed_data_ref() we are always initializing a key but the key is only needed and used if we are inserting a new extent. So move the declaration and initialization of the key to 'if' branch where it's used. Also rename the key from 'ins' to 'key', as it's a more clear name. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions