aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2021-05-19 00:40:29 +0900
committerDavid Sterba <[email protected]>2021-06-21 15:19:05 +0200
commite7ff9e6b8e7d89199119468ae61b29a56f81ad28 (patch)
tree391a711a8b389f79518e2803a17721da185b02b4 /fs/btrfs/dev-replace.c
parent50535db8fbf67d44522de5b79ddf66fb6d0c14a8 (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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions