aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2021-01-11 12:58:12 +0200
committerDavid Sterba <[email protected]>2021-02-08 22:58:51 +0100
commitd7830b7155ab43952ec8f2b95f326f63936ecd03 (patch)
tree0eb341136d768263a1635fa34a2cbd546880de49 /tools/perf/scripts/python/export-to-sqlite.py
parent9db4dc241e87fccd8301357d5ef908f40b50f2e3 (diff)
btrfs: remove always true condition in btrfs_start_delalloc_roots
Following the rework in e076ab2a2ca7 ("btrfs: shrink delalloc pages instead of full inodes") the nr variable is no longer passed by reference to start_delalloc_inodes hence it cannot change. Additionally we are always guaranteed for it to be positive number hence it's redundant to have it as a condition in the loop. Simply remove that usage. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Nikolay Borisov <[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