diff options
author | Michal Sekletár <msekleta@redhat.com> | 2020-02-04 14:23:14 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-02-05 18:34:52 +0100 |
commit | 28ca867abdb20d0e4ac1901e2ed669cdb41ea3f6 (patch) | |
tree | 4a3a384e787c4810073064cee0cfc48f432ab7ea /src/journal/journal-file.h | |
parent | units: drop OnFailure= from .target units (diff) | |
download | systemd-28ca867abdb20d0e4ac1901e2ed669cdb41ea3f6.tar.xz systemd-28ca867abdb20d0e4ac1901e2ed669cdb41ea3f6.zip |
sd-journal: close journal files that were deleted by journald before we've setup inotify watch
Fixes #14695
Diffstat (limited to 'src/journal/journal-file.h')
-rw-r--r-- | src/journal/journal-file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index 502f1f567d..cf0f7691fb 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -145,6 +145,7 @@ int journal_file_open( int journal_file_set_offline(JournalFile *f, bool wait); bool journal_file_is_offlining(JournalFile *f); JournalFile* journal_file_close(JournalFile *j); +int journal_file_fstat(JournalFile *f); DEFINE_TRIVIAL_CLEANUP_FUNC(JournalFile*, journal_file_close); int journal_file_open_reliably( |