Changeset 7cec216 in mainline
- Timestamp:
- 2024-06-19T08:05:09Z (3 months ago)
- Branches:
- master
- Children:
- 743f2cdd
- Parents:
- df1b4a8
- git-author:
- Jiri Svoboda <jiri@…> (2024-06-18 22:04:11)
- git-committer:
- Jiri Svoboda <jiri@…> (2024-06-19 08:05:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fdisk/src/fdisk.c
rdf1b4a8 r7cec216 1 1 /* 2 * Copyright (c) 20 15Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 810 810 } 811 811 812 /** Destroy partition. 813 * 814 * @param part Partition 815 * @return EOK on success or error code 816 */ 812 817 errno_t fdisk_part_destroy(fdisk_part_t *part) 813 818 { 814 819 errno_t rc; 820 821 rc = vol_part_eject(part->dev->fdisk->vol, part->svc_id); 822 if (rc != EOK) 823 return EIO; 815 824 816 825 rc = vbd_part_delete(part->dev->fdisk->vbd, part->part_id);
Note:
See TracChangeset
for help on using the changeset viewer.