From fc58687905692dc884637dd663b701b042384304 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 12 Oct 2005 15:06:47 +0000 Subject: [PATCH] rw_block is private to cache.c --- servers/fs/cache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/servers/fs/cache.c b/servers/fs/cache.c index d3fc613d0..d77b9cc18 100644 --- a/servers/fs/cache.c +++ b/servers/fs/cache.c @@ -8,8 +8,10 @@ * put_block: return a block previously requested with get_block * alloc_zone: allocate a new zone (to increase the length of a file) * free_zone: release a zone (when a file is removed) - * rw_block: read or write a block from the disk itself * invalidate: remove all the cache blocks on some device + * + * Private functions: + * rw_block: read or write a block from the disk itself */ #include "fs.h" @@ -20,6 +22,7 @@ #include "super.h" FORWARD _PROTOTYPE( void rm_lru, (struct buf *bp) ); +FORWARD _PROTOTYPE( int rw_block, (struct buf *, int) ); /*===========================================================================* * get_block * -- 2.44.0