diff options
| author | Filipe Manana <[email protected]> | 2023-09-08 18:20:30 +0100 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-10-12 16:44:06 +0200 |
| commit | 20fb05a6d10ea3ef517bda59a195234a416555c9 (patch) | |
| tree | 4e3b9c122a7f061fe958b122747c3de199347e66 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e721043a988c524e4771c43246d2f7a1996bb020 (diff) | |
btrfs: use a single variable for return value at run_delayed_extent_op()
Instead of using a 'ret' and an 'err' variable at run_delayed_extent_op()
for tracking the return value, use a single one ('ret'). This simplifies
the code, makes it comply with most of the existing code and it's less
prone for logic errors as time has proven over and over in the btrfs code.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions