summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-04-30 00:23:00 +0200
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:20 +0200
commite8fe524da027708793672e05fd4f17806855b0d8 (patch)
tree77028405db6af813bffe603b97362981d18b0fd1 /fs/btrfs/file.c
parentbtrfs: move fiemap code into its own file (diff)
downloadlinux-e8fe524da027708793672e05fd4f17806855b0d8.tar.xz
linux-e8fe524da027708793672e05fd4f17806855b0d8.zip
btrfs: rename extent_map::orig_block_len to disk_num_bytes
This would make it very obvious that the member just matches btrfs_file_extent_item::disk_num_bytes. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 71f27f8fe7d2..ebb769777da4 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -2350,7 +2350,7 @@ out:
hole_em->block_start = EXTENT_MAP_HOLE;
hole_em->block_len = 0;
- hole_em->orig_block_len = 0;
+ hole_em->disk_num_bytes = 0;
hole_em->generation = trans->transid;
ret = btrfs_replace_extent_map_range(inode, hole_em, true);