chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5462cd
)
journal: allow journal_file_copy_entry() to work on non-local files
author
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Nov 2013 23:59:07 +0000
(
00:59
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Nov 2013 23:59:07 +0000
(
00:59
+0100)
src/journal/journal-file.c
patch
|
blob
|
history
diff --git
a/src/journal/journal-file.c
b/src/journal/journal-file.c
index 409be76dd42f47561c73897a913bceebaab6e1fb..14eae8f57e3c65b164e3a58d8cc692ef60d4cde9 100644
(file)
--- 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);