commit | e4319cd9cacef80a2d289f235b939ab8bd614683 | [log] [tgz] |
---|---|---|
author | Anand Jain <[email protected]> | Thu Jan 17 23:32:31 2019 +0800 |
committer | David Sterba <[email protected]> | Mon Feb 25 14:13:23 2019 +0100 |
tree | b86d6a50facd6a6a3c4fc8d35f4014c468ac5d6e | |
parent | 6e927cebe250f206ecb51020fa7caa012cf1fba9 [diff] |
btrfs: refactor btrfs_find_device() take fs_devices as argument btrfs_find_device() accepts fs_info as an argument and retrieves fs_devices from fs_info. Instead use fs_devices, so that this function can be used in non-mount (during device scanning) context as well. Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>