diff options
| author | Filipe Manana <[email protected]> | 2023-09-08 18:20:27 +0100 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-10-12 16:44:06 +0200 |
| commit | 7cce0d690d4e4e3278bd4cf3fd3a168ae62a1419 (patch) | |
| tree | cabfcd36f8558b2dc6494dd50bc4b435ee96779a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1df6b3c06089dd020e31f134adb124de6e315e6a (diff) | |
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 <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions