diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-02-12 16:27:15 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:09 +0200 |
commit | 0ed30c17f699d5df73c445999b0114c5859d1145 (patch) | |
tree | 24167ec2878c09fc8b1d17f590a152a4629ed96e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 7c9acd440f4d1124122639928ac4ff69082bbd3a (diff) |
btrfs: adjust while loop condition in run_delalloc_nocow
We have the following pattern
while (1) {
if (cur_offset > end)
break;
}
Which is just
while (cur_offset <= end) {
...
}
so adjust the code to be more clear.
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions