commit | 15fc1283f631552ffedebd14e4fd5a36438e7d2a | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Mon Feb 12 23:36:25 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 26 15:09:30 2018 +0200 |
tree | c47825bdce10aad01921cd45e702566db11ed03f | |
parent | 18e67c73dc6ea5bc5d9591abf92f8841290c4fcc [diff] |
btrfs: open code btrfs_init_dev_replace_tgtdev_for_resume() btrfs_init_dev_replace_tgtdev_for_resume() initializes replace target device in a few simple steps, so do it at the parent function. Moreover, there isn't any other caller so just open code it. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>