Changeset d6fe2a1 in mainline for uspace/srv/bd/hr/util.c


Ignore:
Timestamp:
2025-03-06T20:42:44Z (5 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
f1be66bf
Parents:
10005fd
Message:

hr: hr_mark_vol_state_dirty() helper

File:
1 edited

Legend:

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

    r10005fd rd6fe2a1  
    4141#include <io/log.h>
    4242#include <loc.h>
     43#include <stdatomic.h>
    4344#include <stdlib.h>
    4445#include <stdio.h>
     
    410411}
    411412
     413void hr_mark_vol_state_dirty(hr_volume_t *vol)
     414{
     415        atomic_store(&vol->state_changed, true);
     416}
     417
    412418/** @}
    413419 */
Note: See TracChangeset for help on using the changeset viewer.