btrfs: make btrfs_next_leaf static inline
authorDavid Sterba <dsterba@suse.com>
Mon, 26 Jul 2021 12:15:12 +0000 (14:15 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:02 +0000 (13:19 +0200)
commit809d6902b3b05fd6b4494ff1460c227b99fcb4c3
tree03cace75d5c191f60d4c48e11f2ec4dcc7ade220
parentf41b6ba93d8ef990c4acc70987bbc138c1926ebb
btrfs: make btrfs_next_leaf static inline

btrfs_next_leaf is a simple wrapper for btrfs_next_old_leaf so move it
to header to avoid the function call overhead.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h