Changeset 44fe800 in mainline for uspace/lib/fdisk/src/fdisk.c


Ignore:
Timestamp:
2015-10-17T21:50:38Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68b5dd11
Parents:
ea0ff6b
Message:

Create file system when creating partition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fdisk/src/fdisk.c

    rea0ff6b r44fe800  
    767767        }
    768768
     769        rc = vol_part_mkfs(dev->fdisk->vol, part->svc_id, pspec->fstype);
     770        if (rc != EOK && rc != ENOTSUP) {
     771                printf("mkfs failed\n");
     772                fdisk_part_remove(part);
     773                (void) vbd_part_delete(dev->fdisk->vbd, partid);
     774                return EIO;
     775        }
     776
    769777        printf("fdisk_part_create() - done\n");
    770778        part->pcnt = vpc_fs;
Note: See TracChangeset for help on using the changeset viewer.