aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2018-12-12 18:05:59 +0000
committerDavid Sterba <dsterba@suse.com>2019-02-25 14:13:40 +0100
commit57a50e2506df3f603580f8f30247caa7ac902369 (patch)
tree37b759c72d33535790e8428fc81102f38adf66f1 /fs/btrfs/scrub.c
parentBtrfs: fix fsync after succession of renames and unlink/rmdir (diff)
downloadlinux-dev-57a50e2506df3f603580f8f30247caa7ac902369.tar.xz
linux-dev-57a50e2506df3f603580f8f30247caa7ac902369.zip
Btrfs: remove no longer needed range length checks for deduplication
Comparing the content of the pages in the range to deduplicate is now done in generic_remap_checks called by the generic helper generic_remap_file_range_prep(), which takes care of ensuring we do not compare/deduplicate undefined data beyond a file's EOF (range from EOF to the next block boundary). So remove these checks which are now redundant. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions