mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-05 09:17:44 +03:00
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.
This commit is contained in:
parent
23cd1e0962
commit
1ea616372d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user