docs: Fix adjust_cache_size prototype: it takes userdata too.

git-svn-id: svn://kolibrios.org@7727 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2020-02-21 02:41:21 +00:00
parent d8113abd2e
commit 41d12fe88a
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ struct DISKFUNC
adjust_cache_size dd ?
; The pointer to the function which returns the cache size for this device.
; Optional, may be NULL.
; unsigned int adjust_cache_size(unsigned int suggested_size);
; unsigned int adjust_cache_size(void* userdata, unsigned int suggested_size);
; Return value: 0 = disable cache, otherwise = used cache size in bytes.
ends

View File

@ -61,7 +61,7 @@ struc DISKFUNC
; implement a software cache for read/write, since they are called from the
; kernel cache manager.
.adjust_cache_size dd ?
; unsigned int adjust_cache_size(unsigned int suggested_size);
; unsigned int adjust_cache_size(void* userdata, unsigned int suggested_size);
; Optional.
; Returns the cache size for this device in bytes. 0 = disable cache.
}