mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
journal: handle clock rollback error in managed_journal_file_open_reliably
-EREMCHG was introduced to denote a clock rollback detection error. Handle this in managed_journal_file_open_reliably.
This commit is contained in:
parent
9cd80d8a58
commit
e18722375b
@ -524,7 +524,8 @@ 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 */
|
||||
-ETXTBSY, /* File is from the future */
|
||||
-EREMCHG)) /* Clock rolled back */
|
||||
return r;
|
||||
|
||||
if ((open_flags & O_ACCMODE) == O_RDONLY)
|
||||
|
Loading…
Reference in New Issue
Block a user