diff options
author | Filipe Manana <fdmanana@suse.com> | 2022-08-17 12:22:44 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-09-26 12:27:57 +0200 |
commit | a375102426dfc4b4923c07165d5a38a2405d2f09 (patch) | |
tree | 08d2b8861f1a2d72cd13080aa225fee4b58dc0b7 /fs/btrfs/dev-replace.c | |
parent | 193df6245704dc6071b75d49f9036ca45b52ace6 (diff) | |
download | linux-a375102426dfc4b4923c07165d5a38a2405d2f09.tar.gz linux-a375102426dfc4b4923c07165d5a38a2405d2f09.tar.bz2 linux-a375102426dfc4b4923c07165d5a38a2405d2f09.zip |
btrfs: move need_log_inode() to above log_conflicting_inodes()
The static function need_log_inode() is defined below btrfs_log_inode()
and log_conflicting_inodes(), but in the next patches in the series we
will need to call need_log_inode() in a couple new functions that will be
used by btrfs_log_inode(). So move its definition to a location above
log_conflicting_inodes().
Also make its arguments 'const', since they are not supposed to be
modified.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions