Changes in uspace/lib/block/libblock.c [5716e9a:956d4df8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/libblock.c
r5716e9a r956d4df8 411 411 l = hash_table_find(&cache->block_hash, &key); 412 412 if (l) { 413 found:414 413 /* 415 414 * We found the block in the cache. … … 494 493 fibril_mutex_unlock(&b->lock); 495 494 goto retry; 496 }497 l = hash_table_find(&cache->block_hash, &key);498 if (l) {499 /*500 * Someone else must have already501 * instantiated the block while we were502 * not holding the cache lock.503 * Leave the recycled block on the504 * freelist and continue as if we505 * found the block of interest during506 * the first try.507 */508 fibril_mutex_unlock(&b->lock);509 goto found;510 495 } 511 496
Note:
See TracChangeset
for help on using the changeset viewer.