chiark / gitweb /
journal: it's not a problem if the realtime jumps, hence don't ensure monotonicity...
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Jan 2012 17:32:50 +0000 (18:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 4 Jan 2012 17:32:50 +0000 (18:32 +0100)
src/journal/journal-file.c

index 95a5aafc9e30aed5197c1f8d864be1563b79799b..4de1daf6a0b177bed7105fc32ea493cc8da4a95c 100644 (file)
@@ -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++) {