Changes in uspace/srv/fs/exfat/exfat_idx.c [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_idx.c
rb7fd2a0 r38d150e 328 328 } 329 329 330 static errno_t exfat_idx_create(exfat_idx_t **fidxp, service_id_t service_id)330 static int exfat_idx_create(exfat_idx_t **fidxp, service_id_t service_id) 331 331 { 332 332 exfat_idx_t *fidx; … … 350 350 } 351 351 352 errno_t exfat_idx_get_new(exfat_idx_t **fidxp, service_id_t service_id)352 int exfat_idx_get_new(exfat_idx_t **fidxp, service_id_t service_id) 353 353 { 354 354 exfat_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, exfat_idx_t, uph_link); 387 387 } else { 388 errno_t rc;388 int rc; 389 389 390 390 rc = exfat_idx_create(&fidx, service_id); … … 468 468 } 469 469 470 errno_t exfat_idx_init(void)470 int exfat_idx_init(void) 471 471 { 472 472 if (!hash_table_create(&up_hash, 0, 0, &uph_ops)) … … 487 487 } 488 488 489 errno_t exfat_idx_init_by_service_id(service_id_t service_id)489 int exfat_idx_init_by_service_id(service_id_t service_id) 490 490 { 491 491 unused_t *u; 492 errno_t rc = EOK;492 int rc = EOK; 493 493 494 494 u = (unused_t *) malloc(sizeof(unused_t));
Note:
See TracChangeset
for help on using the changeset viewer.