summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-08-05 17:47:06 +0300
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:13 +0200
commit922f0518249d20d00ba11470331a2c89b6749c91 (patch)
tree07ba817584a83c1838305b7d71b61a97260e8d36 /tools/perf/scripts/python/exported-sql-viewer.py
parentbb55f6260b4756ba0ce46fc373f6f2e1893f752d (diff)
btrfs: streamline code in run_delalloc_nocow in case of inline extents
The extent range check right after the "out_check" label is redundant, because the only way it can trigger is if we have an inline extent. In this case it makes more sense to actually move it in the branch explictly dealing with inlines extents. What's more, the nested 'if (nocow)' can never be true because for inline extents we always do COW and there is no chance 'nocow' can be true, just remove that check. 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions