Changeset 6284978 in mainline for uspace/srv/fs/fat/fat_ops.c
- Timestamp:
- 2008-11-02T10:21:31Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0c243b4
- Parents:
- 2953f9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r2953f9a r6284978 435 435 436 436 /* initialize libblock */ 437 rc = block_init(dev_handle, BS_SIZE , BS_BLOCK * BS_SIZE, BS_SIZE);437 rc = block_init(dev_handle, BS_SIZE); 438 438 if (rc != EOK) { 439 ipc_answer_0(rid, 0); 439 ipc_answer_0(rid, rc); 440 return; 441 } 442 443 /* prepare the boot block */ 444 rc = block_bb_read(dev_handle, BS_BLOCK * BS_SIZE, BS_SIZE); 445 if (rc != EOK) { 446 block_fini(dev_handle); 447 ipc_answer_0(rid, rc); 440 448 return; 441 449 }
Note:
See TracChangeset
for help on using the changeset viewer.