Changeset 137f7cf5 in mainline for uspace/srv/bd/hr/hr.c


Ignore:
Timestamp:
2025-06-17T22:29:10Z (5 days ago)
Author:
Miroslav Cimerman <mc@…>
Children:
3c518fc
Parents:
a3486f2
git-author:
Miroslav Cimerman <mc@…> (2025-06-17 22:04:20)
git-committer:
Miroslav Cimerman <mc@…> (2025-06-17 22:29:10)
Message:

hr: add common hr_sync_extents() fcn

File:
1 edited

Legend:

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

    ra3486f2 r137f7cf5  
    354354        }
    355355
    356         hr_extent_t *ext = &vol->extents[extent_idx_to_fail];
    357 
    358356        fibril_rwlock_read_lock(&vol->extents_lock);
    359357        fibril_rwlock_write_lock(&vol->states_lock);
     358
     359        hr_extent_t *ext = &vol->extents[extent_idx_to_fail];
    360360
    361361        switch (ext->state) {
Note: See TracChangeset for help on using the changeset viewer.