diff options
| author | Nikolay Borisov <nborisov@suse.com> | 2021-01-11 13:58:12 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-02-09 00:58:51 +0300 |
| commit | d7830b7155ab43952ec8f2b95f326f63936ecd03 (patch) | |
| tree | 0eb341136d768263a1635fa34a2cbd546880de49 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9db4dc241e87fccd8301357d5ef908f40b50f2e3 (diff) | |
| download | linux-d7830b7155ab43952ec8f2b95f326f63936ecd03.tar.xz | |
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 <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
