aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-11-24 17:49:31 +0200
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:54:15 +0100
commitc6a592f2e2093e6a90d651b073746c7950d6420d (patch)
tree078ca7dc5afbef160f624a85dd95a63b6009d17b /tools/perf/scripts/python/syscall-counts-by-pid.py
parentee0d904fd9c5662c58a737c77384f8959fdc8d12 (diff)
btrfs: eliminate err variable from merge_reloc_root
In most cases when an error is returned from a function 'ret' is simply assigned to 'err'. There is only one case where walk_up_reloc_tree can return a positive value - in this case the code breaks from the loop and ret is going to get its return value from btrfs_cow_block - either 0 or negative. This retains the old logic of how 'err' used to be set at this call site. 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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions