Changeset ff381a7 in mainline for uspace/lib/gpt/libgpt.c


Ignore:
Timestamp:
2015-11-02T20:54:19Z (10 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/gpt/libgpt.c

    r3feeab2 rff381a7  
    137137int gpt_read_header(gpt_label_t *label, service_id_t dev_handle)
    138138{
    139         int rc = block_init(EXCHANGE_ATOMIC, dev_handle, 512);
     139        int rc = block_init(dev_handle, 512);
    140140        if (rc != EOK)
    141141                return rc;
     
    191191{
    192192        /* The comm_size argument (the last one) is ignored */
    193         int rc = block_init(EXCHANGE_ATOMIC, dev_handle, 4096);
     193        int rc = block_init(dev_handle, 4096);
    194194        if ((rc != EOK) && (rc != EEXIST))
    195195                return rc;
     
    288288        }
    289289       
    290         int rc = block_init(EXCHANGE_SERIALIZE, label->device,
    291             sizeof(gpt_entry_t));
     290        int rc = block_init(label->device, sizeof(gpt_entry_t));
    292291        if (rc != EOK) {
    293292                gpt_free_partitions(label->parts);
     
    348347{
    349348        /* comm_size of 4096 is ignored */
    350         int rc = block_init(EXCHANGE_ATOMIC, dev_handle, 4096);
     349        int rc = block_init(dev_handle, 4096);
    351350        if ((rc != EOK) && (rc != EEXIST))
    352351                return rc;
Note: See TracChangeset for help on using the changeset viewer.