summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-27 00:59:07 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-27 00:59:07 +0100
commit248c78c79c5cca9b981800d816a77591e504066a (patch)
tree2ab4902f67250c7f12169f5cf0f4156f80921b4b /src/journal/journal-file.c
parente5462cd80e5328a769137c261c93931ea0c27bab (diff)
journal: allow journal_file_copy_entry() to work on non-local files
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 409be76dd4..14eae8f57e 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -2732,10 +2732,6 @@ int journal_file_copy_entry(JournalFile *from, JournalFile *to, Object *o, uint6
ts.monotonic = le64toh(o->entry.monotonic);
ts.realtime = le64toh(o->entry.realtime);
- if (to->tail_entry_monotonic_valid &&
- ts.monotonic < le64toh(to->header->tail_entry_monotonic))
- return -EINVAL;
-
n = journal_file_entry_n_items(o);
items = alloca(sizeof(EntryItem) * n);