commit | 500710d3b8721250e3e16796e176f57417e72492 | [log] [tgz] |
---|---|---|
author | Filipe Manana <fdmanana@suse.com> | Wed Dec 12 18:05:56 2018 +0000 |
committer | David Sterba <dsterba@suse.com> | Mon Feb 25 14:13:21 2019 +0100 |
tree | f696a3a2b7800b8227cae87511752564febca4ba | |
parent | 951e05a90469e29326715e7e3aefd4680748b4fa [diff] |
Btrfs: move duplicated nodatasum check into common reflink/dedupe helper Move the check that verifies if both inodes have checksums disabled or both have them enabled, from the clone and deduplication functions into the new common helper btrfs_remap_file_range_prep(). Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>