Changeset fc22069 in mainline for uspace/lib/gpt/libgpt.c
- Timestamp:
- 2015-08-22T05:12:30Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 78bb04b
- Parents:
- d9e68d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gpt/libgpt.c
rd9e68d0 rfc22069 137 137 int gpt_read_header(gpt_label_t *label, service_id_t dev_handle) 138 138 { 139 int rc = block_init( EXCHANGE_ATOMIC,dev_handle, 512);139 int rc = block_init(dev_handle, 512); 140 140 if (rc != EOK) 141 141 return rc; … … 191 191 { 192 192 /* 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); 194 194 if ((rc != EOK) && (rc != EEXIST)) 195 195 return rc; … … 288 288 } 289 289 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)); 292 291 if (rc != EOK) { 293 292 gpt_free_partitions(label->parts); … … 348 347 { 349 348 /* comm_size of 4096 is ignored */ 350 int rc = block_init( EXCHANGE_ATOMIC,dev_handle, 4096);349 int rc = block_init(dev_handle, 4096); 351 350 if ((rc != EOK) && (rc != EEXIST)) 352 351 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.