mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user