Changeset 26e7d6d in mainline for uspace/lib/ext2/libext2_superblock.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (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_superblock.c
r3842a955 r26e7d6d 321 321 /** Read a superblock directly from device (i.e. no libblock cache) 322 322 * 323 * @param devmap_handle Device handleof the block device.323 * @param service_id Service ID of the block device. 324 324 * @param superblock Pointer where to store pointer to new superblock 325 325 * 326 326 * @return EOK on success or negative error code on failure. 327 327 */ 328 int ext2_superblock_read_direct( devmap_handle_t devmap_handle,328 int ext2_superblock_read_direct(service_id_t service_id, 329 329 ext2_superblock_t **superblock) 330 330 { … … 337 337 } 338 338 339 rc = block_read_bytes_direct( devmap_handle, EXT2_SUPERBLOCK_OFFSET,339 rc = block_read_bytes_direct(service_id, EXT2_SUPERBLOCK_OFFSET, 340 340 EXT2_SUPERBLOCK_SIZE, data); 341 341 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.