summaryrefslogtreecommitdiffstats
path: root/src/journal-remote
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-09-30 08:15:28 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-10-02 03:52:45 +0200
commit5f6b79b73b7eeff1b47eff0f2351542de3980c4b (patch)
treefe20e4a4fd9a680a8ee3dbbccc82cd1afc8aef61 /src/journal-remote
parentjournald: do not close all files stored in Server.deferred_closes (diff)
downloadsystemd-5f6b79b73b7eeff1b47eff0f2351542de3980c4b.tar.xz
systemd-5f6b79b73b7eeff1b47eff0f2351542de3980c4b.zip
journald: split-out closing journal files from managed_journal_file_open()
No functional change, just refactoring and preparation for later commits.
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-remote.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 5b845a520f..29da82e65a 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -88,7 +88,6 @@ static int open_output(RemoteServer *s, Writer *w, const char* host) {
&w->metrics,
w->mmap,
NULL,
- NULL,
&w->journal);
if (r < 0)
return log_error_errno(r, "Failed to open output journal %s: %m", filename);