repart: Make partition files NOCOW if the disk image is NOCOW
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 23 Jul 2024 19:43:13 +0000 (21:43 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Jul 2024 16:58:41 +0000 (18:58 +0200)
commitb9c0b6c011fd0b30d3484d21d70cef6f5ae2fc0a
treeb6bcc67aa2349371e6e3bf3ac435015baeebcda3
parent1b05ac946a6c7922365de7e0033cc82a75b5c361
repart: Make partition files NOCOW if the disk image is NOCOW

On btrfs, reflinks into a disk image that has copy-on-write disabled
only work if the source has copy-on-write disabled as well so let's
make sure that's the case if the disk image has copy-on-write disabled.
src/partition/repart.c