Changes in uspace/lib/mbr/libmbr.c [94c49fd3:fc22069] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/mbr/libmbr.c
r94c49fd3 rfc22069 109 109 } 110 110 111 int rc = block_init( EXCHANGE_ATOMIC,dev_handle, 512);111 int rc = block_init(dev_handle, 512); 112 112 if (rc != EOK) 113 113 return rc; … … 133 133 int mbr_write_mbr(mbr_label_t *label, service_id_t dev_handle) 134 134 { 135 int rc = block_init( EXCHANGE_ATOMIC,dev_handle, 512);135 int rc = block_init(dev_handle, 512); 136 136 if (rc != EOK) 137 137 return rc; … … 227 227 label->mbr = mbr_alloc_mbr(); 228 228 229 int rc = block_init( EXCHANGE_ATOMIC,dev_handle, 512);229 int rc = block_init(dev_handle, 512); 230 230 if (rc != EOK) 231 231 return rc; … … 413 413 mbr_err_val mbr_add_partition(mbr_label_t *label, mbr_part_t *part) 414 414 { 415 int rc = block_init( EXCHANGE_ATOMIC,label->device, 512);415 int rc = block_init(label->device, 512); 416 416 if ((rc != EOK) && (rc != EEXIST)) 417 417 return ERR_LIBBLOCK; … … 622 622 uint32_t addr = base; 623 623 624 int rc = block_init( EXCHANGE_ATOMIC,label->device, 512);624 int rc = block_init(label->device, 512); 625 625 if (rc != EOK) 626 626 goto end;
Note:
See TracChangeset
for help on using the changeset viewer.