commit | 0f39b6056323e3d5e82cdef0f811713fe05fbb12 | [log] [tgz] |
---|---|---|
author | Filipe Manana <fdmanana@suse.com> | Tue Jan 08 11:43:18 2019 +0000 |
committer | David Sterba <dsterba@suse.com> | Mon Feb 25 14:13:20 2019 +0100 |
tree | 7b279081abd6730df3fb41bbb398445201ff0aae | |
parent | 420829d8ea13976e084be8cc2531b52f81e6dd02 [diff] |
Btrfs: remove redundant check for swapfiles when reflinking Checking if either of the inodes corresponds to a swapfile is already performed by generic_remap_file_range_prep(), so we do not need to do it in the btrfs clone and deduplication functions. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>