Ignore:
File:
1 edited

Legend:

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

    r4285f384 rd1582b50  
    11/*
    2  * Copyright (c) 2025 Jiri Svoboda
     2 * Copyright (c) 2015 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    810810}
    811811
    812 /** Destroy partition.
    813  *
    814  * @param part Partition
    815  * @return EOK on success or error code
    816  */
    817812errno_t fdisk_part_destroy(fdisk_part_t *part)
    818813{
    819814        errno_t rc;
    820 
    821         rc = vol_part_eject(part->dev->fdisk->vol, part->svc_id, vef_none);
    822         if (rc != EOK)
    823                 return EIO;
    824815
    825816        rc = vbd_part_delete(part->dev->fdisk->vbd, part->part_id);
Note: See TracChangeset for help on using the changeset viewer.