]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: move duplicated nodatasum check into common reflink/dedupe helper
authorFilipe Manana <fdmanana@suse.com>
Wed, 12 Dec 2018 18:05:56 +0000 (18:05 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:21 +0000 (14:13 +0100)
commit7852594a4791c3b3c66cea994cd47704a164731b
treef696a3a2b7800b8227cae87511752564febca4ba
parentbe21d401ed883003544d081f99b29a68628f6647
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>
fs/btrfs/ioctl.c