libreplace: add rep_copy_reflink()
commit9ffcfb8c4361bf1f6a364aa56a6057ed9b7bd247
authorRalph Boehme <slow@samba.org>
Sun, 24 Mar 2024 16:02:21 +0000 (24 17:02 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 20 Aug 2024 05:41:32 +0000 (20 05:41 +0000)
treebd96343df9c5a230a8c62615e743869424231d09
parentdeeca8ff176e7e9082cc0fcf48d7f981de2523c5
libreplace: add rep_copy_reflink()

FICLONERANGE was introduced in kernel version 4.5, so I guess we can just assume
it is present if HAVE_LINUX_IOCTL is defined.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
lib/replace/replace.c
lib/replace/replace.h