Changeset db6e419 in mainline for uspace/lib/ext2/libext2_superblock.c
- Timestamp:
- 2011-08-16T18:53:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49160c4
- Parents:
- e0e922d (diff), 45058baa (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
-
uspace/lib/ext2/libext2_superblock.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext2/libext2_superblock.c
re0e922d rdb6e419 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.
