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/journal/coredump.c | |
parent | 19ee32dc4d337a033c95c7d3302666f2ea4340bd (diff) |
copy: use btrfs reflinking only whe we know we copy full files
Diffstat (limited to 'src/journal/coredump.c')
-rw-r--r-- | src/journal/coredump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/coredump.c b/src/journal/coredump.c index 8678ec6a59..a37e5eb8a7 100644 --- a/src/journal/coredump.c +++ b/src/journal/coredump.c @@ -316,7 +316,7 @@ static int save_external_coredump( if (fd < 0) return log_error_errno(errno, "Failed to create coredump file %s: %m", tmp); - r = copy_bytes(STDIN_FILENO, fd, arg_process_size_max); + r = copy_bytes(STDIN_FILENO, fd, arg_process_size_max, false); if (r == -EFBIG) { log_error("Coredump of %s (%s) is larger than configured processing limit, refusing.", info[INFO_PID], info[INFO_COMM]); goto fail; |