summaryrefslogtreecommitdiff
path: root/core/include/cache.h
Commit message (Collapse)AuthorAgeFilesLines
* cache: fix _get_cache_block() return, add lock_cache_block()H. Peter Anvin2010-02-161-0/+1
| | | | | | | Correct the return value from _get_cache_block(), and add a method for locking a block permanently in the cache. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* cache: update the metadata cache designH. Peter Anvin2010-02-161-10/+7
| | | | | | | | | | - instead of get_cache_block() returning a descriptor, have get_cache() returning const void *. - have a subfunction to allow getting a block without reading it from disk, and returning the cache descriptor. This will be used in ext2 to pre-seed block 0 with all zero. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Core:EXTLINUX: move the header file in core into core/includeLiu Aleaxander2009-06-131-0/+25