commit | 9cba40a693e69badb567d6ce0eaa0150f25c3d39 | [log] [tgz] |
---|---|---|
author | Filipe Manana <fdmanana@suse.com> | Fri Jun 28 23:11:26 2019 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Sep 09 14:58:58 2019 +0200 |
tree | 3bae92664a7ce97666959987f0ce274a08cbe093 | |
parent | f74c2bb98776e2de508f4d607cd519873065118e [diff] |
Btrfs: factor out extent dropping code from hole punch handler Move the code that is responsible for dropping extents in a range out of btrfs_punch_hole() into a new helper function, btrfs_punch_hole_range(), so that later it can be used by the reflinking (extent cloning and dedup) code to fix a ENOSPC bug. Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>