diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-10-05 16:12:43 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-10-26 19:08:07 +0200 |
commit | faa775c41d655a4786e9d53cb075a77bb5a75f66 (patch) | |
tree | 72087feb56f555f84f6632d57650b84049482809 /fs/btrfs/ioctl.c | |
parent | 562d7b1512f7369a19bca2883e2e8672d78f0481 (diff) |
btrfs: add a btrfs_get_dev_args_from_path helper
We are going to want to populate our device lookup args outside of any
locks and then do the actual device lookup later, so add a helper to do
this work and make btrfs_find_device_by_devspec() use this helper for
now.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions