chiark / gitweb /
journal: make skipping of exhausted journal files effective again
[elogind.git] / src / journal / journal-file.c
index 9b4967fb3216b739bde0a9ab6b9c5984885716eb..9c9a5483be550b84cf6095bc0850e40dbe283be5 100644 (file)
@@ -2013,8 +2013,7 @@ void journal_file_reset_location(JournalFile *f) {
         f->current_xor_hash = 0;
 }
 
-void journal_file_save_location(JournalFile *f, direction_t direction, Object *o, uint64_t offset) {
-        f->last_direction = direction;
+void journal_file_save_location(JournalFile *f, Object *o, uint64_t offset) {
         f->location_type = LOCATION_SEEK;
         f->current_offset = offset;
         f->current_seqnum = le64toh(o->entry.seqnum);