aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-06-30 16:03:50 +0100
committerDavid Sterba <dsterba@suse.com>2023-08-21 14:52:13 +0200
commitb1c8f527feb858927f50a136d13196f107c63631 (patch)
tree0cab8e411381d81758dd54407beef4fb8635324f /tools/perf/scripts/python
parentbtrfs: make find_first_extent_bit() return a boolean (diff)
downloadlinux-b1c8f527feb858927f50a136d13196f107c63631.tar.gz
linux-b1c8f527feb858927f50a136d13196f107c63631.zip
btrfs: open code trivial btrfs_add_excluded_extent()
The code for btrfs_add_excluded_extent() is trivial, it's just a set_extent_bit() call. However it's defined in extent-tree.c but it is only used (twice) in block-group.c. So open code it in block-group.c, reducing the need to export a trivial function. Also since the only caller btrfs_add_excluded_extent() is prepared to deal with errors, stop ignoring errors from the set_extent_bit() call. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions