btrfs: export find_next_inode() as btrfs_find_first_inode()
authorFilipe Manana <fdmanana@suse.com>
Thu, 11 Apr 2024 11:30:59 +0000 (12:30 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 May 2024 19:31:04 +0000 (21:31 +0200)
commit5e485ac6f0f34126ba82267c09cc5ab38cee8908
treeba465779cc5baa362fdb3c596ccd26d34e729ec6
parented48adf83e09041d7ec3ec9ef256f1b3f660c52d
btrfs: export find_next_inode() as btrfs_find_first_inode()

Export the relocation private helper find_next_inode() to inode.c, as this
same logic is also used at btrfs_prune_dentries() and will be used by an
upcoming change that adds an extent map shrinker. The next patch will
change btrfs_prune_dentries() to use this helper.

Reviewed-by: Qu Wenruo <wqu@suse.com>
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>
fs/btrfs/btrfs_inode.h
fs/btrfs/inode.c
fs/btrfs/relocation.c