summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2019-01-08 11:43:18 +0000
committerDavid Sterba <dsterba@suse.com>2019-02-25 14:13:20 +0100
commit0f39b6056323e3d5e82cdef0f811713fe05fbb12 (patch)
tree7b279081abd6730df3fb41bbb398445201ff0aae /fs/btrfs/dev-replace.c
parent420829d8ea13976e084be8cc2531b52f81e6dd02 (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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions