summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-04 18:32:50 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-04 18:32:50 +0100
commitfd8ee359a014916ac62ae2b58f6736ccb48c6d4e (patch)
treeda822ae0e65f3e84eeb99c77d0586bb023d6f19d /src/journal/journal-file.c
parentf4fb21c1515ca882514620b2dee31ef4246be565 (diff)
journal: it's not a problem if the realtime jumps, hence don't ensure monotonicity of realtime for entries we write
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 95a5aafc9e..4de1daf6a0 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -1016,9 +1016,6 @@ int journal_file_append_entry(JournalFile *f, const dual_timestamp *ts, const st
ts->monotonic < le64toh(f->header->tail_entry_monotonic))
return -EINVAL;
- if (ts->realtime < le64toh(f->header->tail_entry_realtime))
- return -EINVAL;
-
items = alloca(sizeof(EntryItem) * n_iovec);
for (i = 0; i < n_iovec; i++) {