aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2019-08-30 17:44:49 +0300
committerDavid Sterba <[email protected]>2019-11-18 12:46:51 +0100
commit725af92a62511aee68216438192041135bf14238 (patch)
tree9a9d21bd4fa86149885b6b439f51d2040b6461af /tools/perf/scripts/python
parentd3316c8233bb05e0dd855d30aac347bb8ad76ee4 (diff)
btrfs: Open-code name_in_log_ref in replay_one_name
That function adds unnecessary indirection between backref_in_log and the caller. Furthermore it also "downgrades" backref_in_log's return value to a boolean, when in fact it could very well be an error. Rectify the situation by simply opencoding name_in_log_ref in replay_one_name and properly handling possible return codes from backref_in_log. Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> [ update comment ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions