diff options
author | 2023-05-31 09:53:57 +0200 | |
---|---|---|
committer | 2023-06-19 13:59:36 +0200 | |
commit | 34bfaf15304b10e9c9e2fbd3012fa72710929b32 (patch) | |
tree | e7f0f1abb1a343eb939eab026c7e2d50a8e4b985 /drivers/pci/controller/dwc | |
parent | btrfs: merge the two calls to btrfs_add_ordered_extent in run_delalloc_nocow (diff) | |
download | wireguard-linux-34bfaf15304b10e9c9e2fbd3012fa72710929b32.tar.xz wireguard-linux-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 <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions