diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-09 13:52:28 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-09 13:52:28 +0100 |
commit | 547725df8983f4d9d7ba583b5bbb98c7b881fba5 (patch) | |
tree | 452c5e8e37a1fca7d9b51b6e5cc0461541263eb9 | |
parent | 68fd2e501561a66a0aeeec7826be394e48cf42a0 (diff) | |
parent | ecb6105a1bd8445a123343827d46bb527bcca92f (diff) |
Merge pull request #2559 from chaloulo/drop_monotonicity_check_from_journal_file
journal: Drop monotonicity check when appending to journal file
-rw-r--r-- | src/journal/journal-file.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 3d87e25724..3fcec88e94 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -1533,10 +1533,6 @@ int journal_file_append_entry(JournalFile *f, const dual_timestamp *ts, const st ts = &_ts; } - if (f->tail_entry_monotonic_valid && - ts->monotonic < le64toh(f->header->tail_entry_monotonic)) - return -EINVAL; - #ifdef HAVE_GCRYPT r = journal_file_maybe_append_tag(f, ts->realtime); if (r < 0) |