diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-02-12 16:36:25 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:30 +0200 |
commit | 15fc1283f631552ffedebd14e4fd5a36438e7d2a (patch) | |
tree | c47825bdce10aad01921cd45e702566db11ed03f /fs/btrfs/ctree.h | |
parent | btrfs: btrfs_dev_replace_cancel() can return int (diff) | |
download | linux-15fc1283f631552ffedebd14e4fd5a36438e7d2a.tar.xz linux-15fc1283f631552ffedebd14e4fd5a36438e7d2a.zip |
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>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions