Changeset e89a06a in mainline for uspace/srv/volsrv/types/part.h
- Timestamp:
- 2018-07-06T22:13:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be0f5e4
- Parents:
- 6419c6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/volsrv/types/part.h
r6419c6e re89a06a 40 40 #include <adt/list.h> 41 41 #include <atomic.h> 42 #include <fibril_synch.h> 42 43 #include <stdbool.h> 43 44 #include <types/label.h> … … 45 46 /** Partition */ 46 47 typedef struct { 48 /** Containing partition list */ 49 struct vol_parts *parts; 47 50 /** Link to vol_parts */ 48 51 link_t lparts; … … 65 68 } vol_part_t; 66 69 70 /** Partitions */ 71 typedef struct vol_parts { 72 /** Synchronize access to list of partitions */ 73 fibril_mutex_t lock; 74 /** Partitions (list of vol_part_t) */ 75 list_t parts; 76 } vol_parts_t; 77 67 78 #endif 68 79
Note:
See TracChangeset
for help on using the changeset viewer.