]> 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)
commitadd187108cd3e075e83ed6d9b1fbc23621ecf877
tree03cace75d5c191f60d4c48e11f2ec4dcc7ade220
parentd861794d4d43db21d06c9c6b5b7631d986fbb54c
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