aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-05-31 07:53:57 +0000
committerDavid Sterba <[email protected]>2023-06-19 11:59:36 +0000
commit34bfaf15304b10e9c9e2fbd3012fa72710929b32 (patch)
treee7f0f1abb1a343eb939eab026c7e2d50a8e4b985 /fs/btrfs/compression.h
parentbtrfs: merge the two calls to btrfs_add_ordered_extent in run_delalloc_nocow (diff)
downloadkernel-34bfaf15304b10e9c9e2fbd3012fa72710929b32.tar.gz
kernel-34bfaf15304b10e9c9e2fbd3012fa72710929b32.zip
btrfs: pass an ordered_extent to btrfs_reloc_clone_csums
Both callers of btrfs_reloc_clone_csums allocate the ordered_extent that btrfs_reloc_clone_csums operates on. Switch them to use btrfs_alloc_ordered_extent instead of btrfs_add_ordered_extent and pass the ordered_extent to btrfs_reloc_clone_csums instead of doing an extra lookup. Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.h')
0 files changed, 0 insertions, 0 deletions