aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-01-10 14:56:41 +0000
committerDavid Sterba <[email protected]>2023-02-13 17:50:34 +0100
commit235e1c7b872f9cf16e8a3e6050a05774b8763c58 (patch)
tree9aef1990b4863eb604dd75d6d25f42daa6ff8897 /tools/perf/scripts/python/compaction-times.py
parent5cce1780dc47906fa06c7be850532c4d1a43822c (diff)
btrfs: use a single variable to track return value for log_dir_items()
We currently use 'ret' and 'err' to track the return value for log_dir_items(), which is confusing and likely the cause for previous bugs where log_dir_items() did not return an error when it should, fixed in previous patches. So change this and use only a single variable, 'ret', to track the return value. This is simpler and makes it similar to most of the existing code. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions