Merge pull request #2559 from chaloulo/drop_monotonicity_check_from_journal_file

journal: Drop monotonicity check when appending to journal file
This commit is contained in:
Lennart Poettering 2016-02-09 13:52:28 +01:00
commit 547725df89

View file

@ -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)