chiark / gitweb /
journal: remove journal_file_object_keep/release functions
[elogind.git] / src / journal / journal-file.c
index 01b7f89fef58b8d36d7c9ebf2fa68a0be5f42912..f70699010e32f6adaffcce5f1f9c350b21b440d4 100644 (file)
@@ -391,7 +391,7 @@ static int journal_file_move_to(JournalFile *f, int context, bool keep_always, u
                         return -EADDRNOTAVAIL;
         }
 
-        return mmap_cache_get(f->mmap, f->fd, f->prot, context, keep_always, offset, size, &f->last_stat, ret, NULL);
+        return mmap_cache_get(f->mmap, f->fd, f->prot, context, keep_always, offset, size, &f->last_stat, ret);
 }
 
 static uint64_t minimum_header_size(Object *o) {