Changes in uspace/lib/block/block.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/block.c
r5e801dc r0db0df2 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2008 Jakub Jermar 3 4 * Copyright (c) 2008 Martin Decky … … 145 146 } 146 147 147 errno_t block_init(service_id_t service_id , size_t comm_size)148 errno_t block_init(service_id_t service_id) 148 149 { 149 150 bd_t *bd; … … 253 254 } 254 255 255 static bool cache_key_equal(const void *key, const ht_link_t *item)256 static bool cache_key_equal(const void *key, size_t hash, const ht_link_t *item) 256 257 { 257 258 const aoff64_t *lba = key; … … 260 261 } 261 262 262 static hash_table_ops_t cache_ops = {263 static const hash_table_ops_t cache_ops = { 263 264 .hash = cache_hash, 264 265 .key_hash = cache_key_hash,
Note:
See TracChangeset
for help on using the changeset viewer.