diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-12 16:24:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-12 17:30:25 +0100 |
commit | 7430ec6ac08f2c0416d9f806964c46b30f3862b2 (patch) | |
tree | 2b42cca3d6b3cc117aa446718585c1a21c8c18aa /src/sysusers/sysusers.c | |
parent | 19ee32dc4d337a033c95c7d3302666f2ea4340bd (diff) |
copy: use btrfs reflinking only whe we know we copy full files
Diffstat (limited to 'src/sysusers/sysusers.c')
-rw-r--r-- | src/sysusers/sysusers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 647eb577a6..0baa2c39d8 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -215,7 +215,7 @@ static int make_backup(const char *target, const char *x) { if (r < 0) return r; - r = copy_bytes(src, fileno(dst), (off_t) -1); + r = copy_bytes(src, fileno(dst), (off_t) -1, true); if (r < 0) goto fail; |