diff options
author | David Sterba <dsterba@suse.com> | 2018-03-20 15:37:08 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:23 +0200 |
commit | 6fc4749d25738e1a5e5b02d04a0a60bbae516652 (patch) | |
tree | 4f740bceb00bc2e9a28a52ff2840b7bef21610b2 /fs/btrfs/volumes.h | |
parent | 00251a527a6fae93ccd4322619b23db56ed82986 (diff) | |
download | linux-6fc4749d25738e1a5e5b02d04a0a60bbae516652.tar.bz2 |
btrfs: make success path out of btrfs_init_dev_replace_tgtdev more clear
This is a preparatory cleanup that will make clear that the only
successful way out of btrfs_init_dev_replace_tgtdev will also set the
device_out to a valid pointer. With this guarantee, the callers can be
simplified.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions