diff options
author | Christoph Hellwig <hch@lst.de> | 2023-03-28 14:19:54 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:21 +0200 |
commit | 2e38a84bc6aba53b82dceb1b4fd049be6924c288 (patch) | |
tree | 30584297da90b9c9ecd647776772938c8074d252 /fs/btrfs/btrfs_inode.h | |
parent | f0792b792dbe862847b1d590beed372a01b99af0 (diff) |
btrfs: simplify extent map splitting and rename split_zoned_em
split_zoned_em is only ever asked to split out the beginning of an extent
map. Change it to only take a len to split out instead of a pre and post
region.
Also rename the function to split_extent_map as there is nothing zoned
device specific about it.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Tested-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions