btrfs: move log_new_dir_dentries() above btrfs_log_inode()
authorFilipe Manana <fdmanana@suse.com>
Wed, 17 Aug 2022 11:22:45 +0000 (12:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:57 +0000 (12:27 +0200)
commitf6d86dbebade107a852896fcaee9095bee231ca1
treebe17ca71428962699d5d3238cd4e3a8dc88666fe
parenta375102426dfc4b4923c07165d5a38a2405d2f09
btrfs: move log_new_dir_dentries() above btrfs_log_inode()

The static function log_new_dir_dentries() is currently defined below
btrfs_log_inode(), but in an upcoming patch a new function is introduced
that is called by btrfs_log_inode() and this new function needs to call
log_new_dir_dentries(). So move log_new_dir_dentries() to a location
between btrfs_log_inode() and need_log_inode() (the later is called by
log_new_dir_dentries()).

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c