Changes in uspace/lib/ext2/libext2_filesystem.c [15f3c3f:79ae36dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext2/libext2_filesystem.c
r15f3c3f r79ae36dd 50 50 * 51 51 * @param fs Pointer to ext2_filesystem_t to initialize 52 * @param service_id Service IDof the block device53 * 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)52 * @param devmap_handle Device handle 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, devmap_handle_t devmap_handle) 57 57 { 58 58 int rc; … … 60 60 size_t block_size; 61 61 62 fs->device = service_id;62 fs->device = devmap_handle; 63 63 64 64 rc = block_init(EXCHANGE_SERIALIZE, fs->device, 2048); … … 80 80 } 81 81 82 rc = block_cache_init( service_id, block_size, 0, CACHE_MODE_WT);82 rc = block_cache_init(devmap_handle, 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.