Changeset 44fe800 in mainline for uspace/srv/volsrv/part.c
- Timestamp:
- 2015-10-17T21:50:38Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68b5dd11
- Parents:
- ea0ff6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/volsrv/part.c
rea0ff6b r44fe800 44 44 45 45 #include "empty.h" 46 #include "mkfs.h" 46 47 #include "part.h" 47 48 #include "types/part.h" … … 154 155 155 156 log_msg(LOG_DEFAULT, LVL_NOTE, "Probe partition %s", part->svc_name); 156 rc = vol _part_is_empty(sid, &empty);157 rc = volsrv_part_is_empty(sid, &empty); 157 158 if (rc != EOK) { 158 159 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed determining if " … … 256 257 log_msg(LOG_DEFAULT, LVL_NOTE, "vol_part_empty_part()"); 257 258 258 rc = vol _part_empty(part->svc_id);259 rc = volsrv_part_empty(part->svc_id); 259 260 if (rc != EOK) { 260 261 log_msg(LOG_DEFAULT, LVL_NOTE, "vol_part_empty_part() - failed %d", … … 268 269 } 269 270 271 int vol_part_mkfs_part(vol_part_t *part, vol_fstype_t fstype) 272 { 273 int rc; 274 275 log_msg(LOG_DEFAULT, LVL_NOTE, "vol_part_mkfs_part()"); 276 277 rc = volsrv_part_mkfs(part->svc_id, fstype); 278 if (rc != EOK) { 279 log_msg(LOG_DEFAULT, LVL_NOTE, "vol_part_mkfs_part() - failed %d", 280 rc); 281 return rc; 282 } 283 284 log_msg(LOG_DEFAULT, LVL_NOTE, "vol_part_mkfs_part() - success"); 285 part->pcnt = vpc_fs; 286 part->fstype = fstype; 287 return EOK; 288 } 289 270 290 int vol_part_get_info(vol_part_t *part, vol_part_info_t *pinfo) 271 291 {
Note:
See TracChangeset
for help on using the changeset viewer.