]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: fold btrfs_clone_ordered_extent into btrfs_split_ordered_extent
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Mar 2023 05:19:53 +0000 (14:19 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:21 +0000 (18:01 +0200)
commitf0792b792dbe862847b1d590beed372a01b99af0
tree437ed2ca69a2e85bc96d9f815a6efb0e8824f03d
parent8f4af4b8e1227291bbeaee4b0f2e7f494d9dd2c1
btrfs: fold btrfs_clone_ordered_extent into btrfs_split_ordered_extent

The function btrfs_clone_ordered_extent is very specific to the usage in
btrfs_split_ordered_extent.  Now that only a single call to
btrfs_clone_ordered_extent is left, just fold it into
btrfs_split_ordered_extent to make the operation more clear.

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>
fs/btrfs/ordered-data.c