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 95a5aaf..4de1daf 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++) {