summaryrefslogtreecommitdiff
path: root/src/journal/mmap-cache.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-21 15:33:21 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-21 15:39:34 +0200
commitfcde238921b857679363a95488a5a5af1dc1f243 (patch)
tree69cc0cd703ffa0d1d726035a3cde5db9d798dbd3 /src/journal/mmap-cache.h
parent369f0589218a874a88bc69c5481d8f90f987b7dd (diff)
journal: be more careful when keeping around mmaps we still need
Diffstat (limited to 'src/journal/mmap-cache.h')
-rw-r--r--src/journal/mmap-cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal/mmap-cache.h b/src/journal/mmap-cache.h
index aae4544357..98a1a731f8 100644
--- a/src/journal/mmap-cache.h
+++ b/src/journal/mmap-cache.h
@@ -29,7 +29,6 @@ MMapCache* mmap_cache_new(void);
MMapCache* mmap_cache_ref(MMapCache *m);
MMapCache* mmap_cache_unref(MMapCache *m);
-int mmap_cache_get(MMapCache *m, int fd, int prot, unsigned context, uint64_t offset, uint64_t size, void **ret);
+int mmap_cache_get(MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, uint64_t size, struct stat *st, void **ret);
void mmap_cache_close_fd(MMapCache *m, int fd);
-void mmap_cache_close_fd_range(MMapCache *m, int fd, uint64_t range);
void mmap_cache_close_context(MMapCache *m, unsigned context);