]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4be649787ebfb3f9950ef5d69a6e6654b37cc43a
tree03cace75d5c191f60d4c48e11f2ec4dcc7ade220
parent041aa7232d5b873cc15d1d922779f3b928fff2b5
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