summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-remote-write.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-21 21:35:50 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-21 21:35:50 +0100
commit1f210bdbe65dffcb6daeb9d9cddbf0b2d02f8718 (patch)
tree13fc5e73ea6bb4526ae32d3241432dd0fe2b7f63 /src/journal-remote/journal-remote-write.c
parentc7044f9ed295ca2d83bcd0059a86a9443361eaec (diff)
parentb58c888f30947b29730768c48ad402a2c5b65be9 (diff)
Merge pull request #2650 from vcaputo/async_fsync
Perform journal offlines asynchronously when possible
Diffstat (limited to 'src/journal-remote/journal-remote-write.c')
-rw-r--r--src/journal-remote/journal-remote-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote-write.c b/src/journal-remote/journal-remote-write.c
index 5fab74e5cc..7bba52566e 100644
--- a/src/journal-remote/journal-remote-write.c
+++ b/src/journal-remote/journal-remote-write.c
@@ -54,7 +54,7 @@ void iovw_rebase(struct iovec_wrapper *iovw, char *old, char *new) {
**********************************************************************/
static int do_rotate(JournalFile **f, bool compress, bool seal) {
- int r = journal_file_rotate(f, compress, seal);
+ int r = journal_file_rotate(f, compress, seal, NULL);
if (r < 0) {
if (*f)
log_error_errno(r, "Failed to rotate %s: %m", (*f)->path);