Re: [PATCH 1/6] btrfs: merge btrfs_find_device_missing_or_by_path() into parent

2019-01-17 Thread David Sterba
On Thu, Jan 17, 2019 at 11:32:28PM +0800, Anand Jain wrote: > btrfs_find_device_missing_or_by_path() is relatively small function, and > its only parent btrfs_find_device_by_devspec() is small as well. Besides > there are a number of find_device functions. Merge > btrfs_find_device_missing_or_by_pa

[PATCH 1/6] btrfs: merge btrfs_find_device_missing_or_by_path() into parent

2019-01-17 Thread Anand Jain
btrfs_find_device_missing_or_by_path() is relatively small function, and its only parent btrfs_find_device_by_devspec() is small as well. Besides there are a number of find_device functions. Merge btrfs_find_device_missing_or_by_path() into its parent. Signed-off-by: Anand Jain --- fs/btrfs/volu