Changeset 498ced1 in mainline for uspace/srv/volsrv/types


Ignore:
Timestamp:
2018-08-11T02:43:32Z (8 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
05882233
Parents:
b13d80b
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-11 02:29:02)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-11 02:43:32)
Message:

Unify reference counting and remove some unnecessary instances of <atomic.h>

Location:
uspace/srv/volsrv/types
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/volsrv/types/part.h

    rb13d80b r498ced1  
    3939
    4040#include <adt/list.h>
    41 #include <atomic.h>
     41#include <refcount.h>
    4242#include <fibril_synch.h>
    4343#include <stdbool.h>
     
    5151        link_t lparts;
    5252        /** Reference count */
    53         atomic_t refcnt;
     53        atomic_refcount_t refcnt;
    5454        /** Service ID */
    5555        service_id_t svc_id;
  • uspace/srv/volsrv/types/volume.h

    rb13d80b r498ced1  
    3939
    4040#include <adt/list.h>
    41 #include <atomic.h>
     41#include <refcount.h>
    4242#include <fibril_synch.h>
    4343#include <sif.h>
     
    5050        link_t lvolumes;
    5151        /** Reference count */
    52         atomic_t refcnt;
     52        atomic_refcount_t refcnt;
    5353        /** Volume label */
    5454        char *label;
Note: See TracChangeset for help on using the changeset viewer.