OSDN Git Service

btrfs: merge btrfs_find_device_missing_or_by_path() into parent
authorAnand Jain <anand.jain@oracle.com>
Thu, 17 Jan 2019 15:32:28 +0000 (23:32 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:22 +0000 (14:13 +0100)
commitd95a830c78adb53058b86e0cb7df98dc0b874d43
treecb388206efcfb9d8e18c639825043cb0ef5165fd
parent02a033df7a5ebf356d59eeabab1a37ca175e8b5b
btrfs: merge btrfs_find_device_missing_or_by_path() into parent

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 <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c