From 10b8d84f32f55b145d13dd843e4fca640f23f1a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 19 Nov 2004 20:24:27 +0000 Subject: [PATCH] Added empty file_cache_sync(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10048 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/cache/file_cache.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/kernel/core/cache/file_cache.cpp b/src/kernel/core/cache/file_cache.cpp index 7ec1e63df6..59f62d6773 100644 --- a/src/kernel/core/cache/file_cache.cpp +++ b/src/kernel/core/cache/file_cache.cpp @@ -485,6 +485,14 @@ file_cache_set_size(void *_cacheRef, off_t size) } +extern "C" status_t +file_cache_sync(void *_cacheRef) +{ + // ToDo: implement me! + return B_ERROR; +} + + extern "C" status_t file_cache_read_pages(void *_cacheRef, off_t offset, const iovec *vecs, size_t count, size_t *_numBytes) {