Changeset ff381a7 in mainline for uspace/lib/mbr/libmbr.c


Ignore:
Timestamp:
2015-11-02T20:54:19Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r3feeab2 rff381a7  
    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.