Changeset 925a21e in mainline for uspace/lib/ext2/libext2_filesystem.c
- Timestamp:
- 2011-09-24T14:20:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bf76c1
- Parents:
- 867e2555 (diff), 1ab4aca (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext2/libext2_filesystem.c
r867e2555 r925a21e 50 50 * 51 51 * @param fs Pointer to ext2_filesystem_t to initialize 52 * @param devmap_handle Device handleof the block device53 * 54 * @return EOK on success or negative error code on failure 55 */ 56 int ext2_filesystem_init(ext2_filesystem_t *fs, devmap_handle_t devmap_handle)52 * @param service_id Service ID of the block device 53 * 54 * @return EOK on success or negative error code on failure 55 */ 56 int ext2_filesystem_init(ext2_filesystem_t *fs, service_id_t service_id) 57 57 { 58 58 int rc; … … 60 60 size_t block_size; 61 61 62 fs->device = devmap_handle;62 fs->device = service_id; 63 63 64 64 rc = block_init(EXCHANGE_SERIALIZE, fs->device, 2048); … … 80 80 } 81 81 82 rc = block_cache_init( devmap_handle, block_size, 0, CACHE_MODE_WT);82 rc = block_cache_init(service_id, block_size, 0, CACHE_MODE_WT); 83 83 if (rc != EOK) { 84 84 block_fini(fs->device);
Note:
See TracChangeset
for help on using the changeset viewer.