aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2021-03-11 14:31:11 +0000
committerDavid Sterba <[email protected]>2021-04-19 17:25:17 +0200
commitffe1d039d7ad4ffe53b110065c1c67dca0b9bfb6 (patch)
treea5b6595ddc9729328e1b0f1ae4941462597f9f5e /tools/perf/scripts/python
parent888dd183390d733734c855e2fa97103762c737c9 (diff)
btrfs: remove unnecessary leaf check at btrfs_tree_mod_log_free_eb()
At btrfs_tree_mod_log_free_eb() we check if we are dealing with a leaf, and if so, return immediately and do nothing. However this check can be removed, because after it we call tree_mod_need_log(), which returns false when given an extent buffer that corresponds to a leaf. So just remove the leaf check and pass the extent buffer to tree_mod_need_log(). Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions