aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2019-01-17 15:32:29 +0000
committerDavid Sterba <[email protected]>2019-02-25 13:13:23 +0000
commit6e927cebe250f206ecb51020fa7caa012cf1fba9 (patch)
treefb2fc0e9e377aea0e966e637e28da59c3af79506 /fs/btrfs/async-thread.c
parentbtrfs: merge btrfs_find_device_missing_or_by_path() into parent (diff)
downloadkernel-6e927cebe250f206ecb51020fa7caa012cf1fba9.tar.gz
kernel-6e927cebe250f206ecb51020fa7caa012cf1fba9.zip
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions