journald: do not close all files stored in Server.deferred_closes

Just before the call of managed_journal_file_open(), we already called
server_vacuum_deferred_closes(), so there is a room to store the file.
This commit is contained in:
Yu Watanabe
2023-10-02 10:52:45 +09:00
parent b503c76689
commit 34d17ac128
+1 -1
View File
@@ -655,7 +655,7 @@ static int server_archive_offline_user_journals(Server *s) {
s->compress.threshold_bytes,
&s->system_storage.metrics,
s->mmap,
s->deferred_closes,
/* deferred_closes= */ NULL,
/* template= */ NULL,
&f);
if (r < 0) {