diff options
| author | Anand Jain <anand.jain@oracle.com> | 2019-01-19 14:48:55 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-22 09:04:59 +0200 |
| commit | 8cb9b069fa631b613bbbd6f63887190e55cafa3c (patch) | |
| tree | 718dc602c1cfab69da4e939bf38a7d8a67131bc0 /drivers/memory | |
| parent | e18590b3e242638e873a61d299abf8a9df446236 (diff) | |
btrfs: merge btrfs_find_device and find_device
commit 09ba3bc9dd150457c506e4661380a6183af651c1 upstream.
Both btrfs_find_device() and find_device() does the same thing except
that the latter does not take the seed device onto account in the device
scanning context. We can merge them.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
[4.19.y backport notes:
Vikash : - To apply this patch, a portion of commit e4319cd9cace
was used to change the first argument of function
"btrfs_find_device" from "struct btrfs_fs_info" to
"struct btrfs_fs_devices".
Signed-off-by: Vikash Bansal <bvikas@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions
