diff options
author | 2019-06-28 23:11:26 +0100 | |
---|---|---|
committer | 2019-09-09 14:58:58 +0200 | |
commit | 9cba40a693e69badb567d6ce0eaa0150f25c3d39 (patch) | |
tree | 3bae92664a7ce97666959987f0ce274a08cbe093 /fs/btrfs/ioctl.c | |
parent | Linux 5.3-rc8 (diff) | |
download | linux-dev-9cba40a693e69badb567d6ce0eaa0150f25c3d39.tar.xz linux-dev-9cba40a693e69badb567d6ce0eaa0150f25c3d39.zip |
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>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions