Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/mbr/libmbr.c

    r94c49fd3 rfc22069  
    109109        }
    110110       
    111         int rc = block_init(EXCHANGE_ATOMIC, dev_handle, 512);
     111        int rc = block_init(dev_handle, 512);
    112112        if (rc != EOK)
    113113                return rc;
     
    133133int mbr_write_mbr(mbr_label_t *label, service_id_t dev_handle)
    134134{
    135         int rc = block_init(EXCHANGE_ATOMIC, dev_handle, 512);
     135        int rc = block_init(dev_handle, 512);
    136136        if (rc != EOK)
    137137                return rc;
     
    227227                label->mbr = mbr_alloc_mbr();
    228228       
    229         int rc = block_init(EXCHANGE_ATOMIC, dev_handle, 512);
     229        int rc = block_init(dev_handle, 512);
    230230        if (rc != EOK)
    231231                return rc;
     
    413413mbr_err_val mbr_add_partition(mbr_label_t *label, mbr_part_t *part)
    414414{
    415         int rc = block_init(EXCHANGE_ATOMIC, label->device, 512);
     415        int rc = block_init(label->device, 512);
    416416        if ((rc != EOK) && (rc != EEXIST))
    417417                return ERR_LIBBLOCK;
     
    622622        uint32_t addr = base;
    623623       
    624         int rc = block_init(EXCHANGE_ATOMIC, label->device, 512);
     624        int rc = block_init(label->device, 512);
    625625        if (rc != EOK)
    626626                goto end;
Note: See TracChangeset for help on using the changeset viewer.