diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2021-05-19 00:40:29 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-06-21 15:19:05 +0200 |
commit | e7ff9e6b8e7d89199119468ae61b29a56f81ad28 (patch) | |
tree | 391a711a8b389f79518e2803a17721da185b02b4 /fs/btrfs/print-tree.c | |
parent | 50535db8fbf67d44522de5b79ddf66fb6d0c14a8 (diff) |
btrfs: zoned: factor out zoned device lookup
To be able to construct a zone append bio we need to look up the
btrfs_device. The code doing the chunk map lookup to get the device is
present in btrfs_submit_compressed_write and submit_extent_page.
Factor out the lookup calls into a helper and use it in the submission
paths.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions