Changes in uspace/srv/fs/fat/fat_idx.c [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_idx.c
rb7fd2a0 r38d150e 328 328 } 329 329 330 static errno_t fat_idx_create(fat_idx_t **fidxp, service_id_t service_id)330 static int fat_idx_create(fat_idx_t **fidxp, service_id_t service_id) 331 331 { 332 332 fat_idx_t *fidx; … … 350 350 } 351 351 352 errno_t fat_idx_get_new(fat_idx_t **fidxp, service_id_t service_id)352 int fat_idx_get_new(fat_idx_t **fidxp, service_id_t service_id) 353 353 { 354 354 fat_idx_t *fidx; 355 errno_t rc;355 int rc; 356 356 357 357 fibril_mutex_lock(&used_lock); … … 386 386 fidx = hash_table_get_inst(l, fat_idx_t, uph_link); 387 387 } else { 388 errno_t rc;388 int rc; 389 389 390 390 rc = fat_idx_create(&fidx, service_id); … … 467 467 } 468 468 469 errno_t fat_idx_init(void)469 int fat_idx_init(void) 470 470 { 471 471 if (!hash_table_create(&up_hash, 0, 0, &uph_ops)) … … 486 486 } 487 487 488 errno_t fat_idx_init_by_service_id(service_id_t service_id)488 int fat_idx_init_by_service_id(service_id_t service_id) 489 489 { 490 490 unused_t *u; 491 errno_t rc = EOK;491 int rc = EOK; 492 492 493 493 u = (unused_t *) malloc(sizeof(unused_t));
Note:
See TracChangeset
for help on using the changeset viewer.