diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-01-26 17:32:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-01-27 09:41:36 +0100 |
commit | 1ea616372d5eb9b6e4f9e279ddc93be739a0bb09 (patch) | |
tree | 6bbc623af47397b3132af5637ec04c15a2a7f09d | |
parent | 23cd1e0962b050da7b917a253f414731df0ae086 (diff) | |
download | systemd-1ea616372d5eb9b6e4f9e279ddc93be739a0bb09.tar.gz |
journald: don't check for -EREMCHG on open, given that open doesn't generate it
We generate EREMCHG when writing entries, but not during open, hence
don't bother with checking for it.
-rw-r--r-- | src/journal/managed-journal-file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal/managed-journal-file.c b/src/journal/managed-journal-file.c index 6e313f2a05..810167772a 100644 --- a/src/journal/managed-journal-file.c +++ b/src/journal/managed-journal-file.c @@ -524,8 +524,7 @@ int managed_journal_file_open_reliably( -ESHUTDOWN, /* Already archived */ -EIO, /* IO error, including SIGBUS on mmap */ -EIDRM, /* File has been deleted */ - -ETXTBSY, /* File is from the future */ - -EREMCHG)) /* Clock rolled back */ + -ETXTBSY)) /* File is from the future */ return r; if ((open_flags & O_ACCMODE) == O_RDONLY) |