Changeset 7a80c63 in mainline for uspace/srv/bd/hr/raid0.c
- Timestamp:
- 2025-03-28T23:40:33Z (3 months ago)
- Children:
- 8a65373
- Parents:
- 0437dd5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/raid0.c
r0437dd5 r7a80c63 133 133 { 134 134 HR_DEBUG("%s()", __func__); 135 136 hr_volume_t *vol = bd->srvs->sarg; 137 138 atomic_fetch_add_explicit(&vol->open_cnt, 1, memory_order_relaxed); 139 135 140 return EOK; 136 141 } … … 139 144 { 140 145 HR_DEBUG("%s()", __func__); 146 147 hr_volume_t *vol = bd->srvs->sarg; 148 149 atomic_fetch_sub_explicit(&vol->open_cnt, 1, memory_order_relaxed); 150 141 151 return EOK; 142 152 }
Note:
See TracChangeset
for help on using the changeset viewer.