Changeset d2da1be in mainline for uspace/srv/bd/hr/raid1.c
- Timestamp:
- 2025-03-06T23:15:08Z (5 months ago)
- Children:
- e24c064
- Parents:
- f1be66bf
- git-author:
- Miroslav Cimerman <mc@…> (2025-03-06 23:12:28)
- git-committer:
- Miroslav Cimerman <mc@…> (2025-03-06 23:15:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/raid1.c
rf1be66bf rd2da1be 225 225 bool exp = true; 226 226 227 if (!atomic_compare_exchange_strong(&vol->state_changed, &exp, false)) 227 /* TODO: could also wrap this */ 228 if (!atomic_compare_exchange_strong(&vol->state_dirty, &exp, false)) 228 229 return; 229 230
Note:
See TracChangeset
for help on using the changeset viewer.