diff options
author | Anand Jain <anand.jain@oracle.com> | 2019-01-17 18:32:29 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-02-25 16:13:23 +0300 |
commit | 6e927cebe250f206ecb51020fa7caa012cf1fba9 (patch) | |
tree | fb2fc0e9e377aea0e966e637e28da59c3af79506 /fs/btrfs/dev-replace.c | |
parent | d95a830c78adb53058b86e0cb7df98dc0b874d43 (diff) | |
download | linux-6e927cebe250f206ecb51020fa7caa012cf1fba9.tar.xz |
btrfs: cleanup btrfs_find_device_by_devspec()
btrfs_find_device_by_devspec() finds the device by @devid or by
@device_path. This patch makes code flow easy to read by open coding the
else part and renames devpath to device_path.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions