btrfs: move btrfs_dev_replace_update_device_in_mapping_tree to drop declaration
authorAnand Jain <anand.jain@oracle.com>
Fri, 4 Sep 2020 17:34:36 +0000 (01:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:15 +0000 (12:13 +0200)
commit0725c0c9351d9854a61bc68f0a59d9f91d75abbd
tree8667c6c70aee614b9276ec9faadebb7e366902e6
parentc83b60c0e4d27363e284123afb50ff34f0ea1f1a
btrfs: move btrfs_dev_replace_update_device_in_mapping_tree to drop declaration

The function is short and simple, we can get rid of the declaration as
it's not necessary for a static function. Move it before its first
caller.  No functional changes.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c