]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit561434a485faca255ef77a08a11f2ee4f634939f
tree8667c6c70aee614b9276ec9faadebb7e366902e6
parent75633038376d7e2487549043622ce7b204a3b5ee
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