Changeset 680e8c8 in mainline


Ignore:
Timestamp:
2024-09-05T19:55:41Z (8 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
68e357e
Parents:
a8b2d9e7
Message:

hr: initialize big_lock once

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/hr.c

    ra8b2d9e7 r680e8c8  
    9090        hr_config->dev_no = size / sizeof(service_id_t);
    9191
    92         fibril_mutex_initialize(&big_lock);
    93 
    9492        hr_volume_t *new_volume = calloc(1, sizeof(hr_volume_t));
    9593        if (new_volume == NULL) {
     
    206204        }
    207205
     206        fibril_mutex_initialize(&big_lock);
     207
    208208        fibril_mutex_initialize(&hr_volumes_lock);
    209209        list_initialize(&hr_volumes);
Note: See TracChangeset for help on using the changeset viewer.