Changeset 0ecfc62 in mainline for uspace/srv/volsrv/part.c
- Timestamp:
- 2015-10-09T18:11:08Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a43785
- Parents:
- 372df8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/volsrv/part.c
r372df8f r0ecfc62 113 113 114 114 link_initialize(&part->lparts); 115 part-> dcnt = dc_empty;115 part->pcnt = vpc_empty; 116 116 117 117 return part; … … 149 149 log_msg(LOG_DEFAULT, LVL_NOTE, "Probe partition %s", part->svc_name); 150 150 151 part-> dcnt = dc_unknown;151 part->pcnt = vpc_unknown; 152 152 list_append(&part->lparts, &vol_parts); 153 153 … … 227 227 int vol_part_empty_part(vol_part_t *part) 228 228 { 229 part->dcnt = dc_empty; 230 231 return EOK; 232 } 233 234 int vol_part_get_info(vol_part_t *part, vol_part_info_t *dinfo) 235 { 236 dinfo->dcnt = part->dcnt; 229 part->pcnt = vpc_empty; 230 231 return EOK; 232 } 233 234 int vol_part_get_info(vol_part_t *part, vol_part_info_t *pinfo) 235 { 236 pinfo->pcnt = part->pcnt; 237 pinfo->fstype = part->fstype; 237 238 return EOK; 238 239 }
Note:
See TracChangeset
for help on using the changeset viewer.