Changeset 0ecfc62 in mainline for uspace/lib/fdisk


Ignore:
Timestamp:
2015-10-09T18:11:08Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3a43785
Parents:
372df8f
Message:

Information structures need updating to new model.

Location:
uspace/lib/fdisk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fdisk/include/types/fdisk.h

    r372df8f r0ecfc62  
    102102        /** Fdisk instance */
    103103        struct fdisk *fdisk;
    104         /** Disk contents */
    105         label_disk_cnt_t dcnt;
    106104        /** Service ID */
    107105        service_id_t sid;
     
    123121
    124122typedef struct {
    125         /** Disk contents */
    126         label_disk_cnt_t dcnt;
    127123        /** Label type */
    128124        label_type_t ltype;
  • uspace/lib/fdisk/src/fdisk.c

    r372df8f r0ecfc62  
    388388        }
    389389
    390         dev->dcnt = dc_label;
    391 
    392390        printf("get label info\n");
    393391        rc = fdisk_update_dev_info(dev);
     
    486484        }
    487485
    488         info->dcnt = dc_label;
    489486        info->ltype = vinfo.ltype;
    490487        info->flags = vinfo.flags;
     
    526523                return EIO;
    527524
    528         dev->dcnt = dc_empty;
    529525        return EOK;
    530526}
Note: See TracChangeset for help on using the changeset viewer.