repart: Use COPY_REFLINK in context_copy_blocks()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 12 Oct 2022 18:04:11 +0000 (20:04 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 11 Nov 2022 12:47:47 +0000 (13:47 +0100)
commit8c467ee8ef870d172b24e716130d7a0b6b882d6b
tree16f1bf9711b80a11fbc4e5400f3059925187b258
parenta673b0568b3d6af51b963978b254f55712a79099
repart: Use COPY_REFLINK in context_copy_blocks()

We might be copying between files without a loop device involved.
In that case, a reflink is possible and will be much faster.
src/partition/repart.c