summaryrefslogtreecommitdiff
path: root/fs/fuse/cuse.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-02-08 17:46:48 +0000
committerDavid Sterba <dsterba@suse.com>2023-02-15 19:38:55 +0100
commit7b00dfffebd4f3444a3ec04d9e4203b7ac1acb47 (patch)
tree705aeea178298d6e7cb73e7868f818bef447381a /fs/fuse/cuse.c
parent08241d3c745ed7c6de8a762c0737b337c68a6c87 (diff)
downloadlinux-7b00dfffebd4f3444a3ec04d9e4203b7ac1acb47.tar.gz
linux-7b00dfffebd4f3444a3ec04d9e4203b7ac1acb47.tar.bz2
linux-7b00dfffebd4f3444a3ec04d9e4203b7ac1acb47.zip
btrfs: eliminate extra call when doing binary search on extent buffer
The function btrfs_bin_search() is just a wrapper around the function generic_bin_search(), which passes the same arguments plus a default low slot with a value of 0. This adds an unnecessary extra function call, since btrfs_bin_search() is not static. So improve on this by making btrfs_bin_search() an inline function that calls generic_bin_search(), renaming the later to btrfs_generic_bin_search() and exporting it. Reviewed-by: Josef Bacik <josef@toxicpanda.com> 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 'fs/fuse/cuse.c')
0 files changed, 0 insertions, 0 deletions