rw_block is private to cache.c
This commit is contained in:
parent
ee1f2bcb39
commit
fc58687905
@ -8,8 +8,10 @@
|
|||||||
* put_block: return a block previously requested with get_block
|
* put_block: return a block previously requested with get_block
|
||||||
* alloc_zone: allocate a new zone (to increase the length of a file)
|
* alloc_zone: allocate a new zone (to increase the length of a file)
|
||||||
* free_zone: release a zone (when a file is removed)
|
* 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
|
* 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"
|
#include "fs.h"
|
||||||
@ -20,6 +22,7 @@
|
|||||||
#include "super.h"
|
#include "super.h"
|
||||||
|
|
||||||
FORWARD _PROTOTYPE( void rm_lru, (struct buf *bp) );
|
FORWARD _PROTOTYPE( void rm_lru, (struct buf *bp) );
|
||||||
|
FORWARD _PROTOTYPE( int rw_block, (struct buf *, int) );
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* get_block *
|
* get_block *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user