Changeset b209135 in mainline for uspace/lib/ext4/src/filesystem.c
- Timestamp:
- 2018-10-03T12:19:02Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ba36a0
- Parents:
- 2175178
- git-author:
- Jiri Svoboda <jiri@…> (2018-10-02 22:18:01)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-10-03 12:19:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/filesystem.c
r2175178 rb209135 374 374 * 375 375 * @param service_id Block device to probe 376 * @param info Place to store probe information 376 377 * 377 378 * @return EOK or an error code. 378 379 * 379 380 */ 380 errno_t ext4_filesystem_probe(service_id_t service_id) 381 errno_t ext4_filesystem_probe(service_id_t service_id, 382 ext4_fs_probe_info_t *info) 381 383 { 382 384 ext4_filesystem_t *fs = NULL; … … 391 393 if (rc != EOK) { 392 394 free(fs); 395 return rc; 396 } 397 398 rc = ext4_superblock_get_volume_name(fs->superblock, info->vol_name, 399 sizeof(info->vol_name)); 400 if (rc != EOK) { 401 ext4_filesystem_fini(fs); 393 402 return rc; 394 403 }
Note:
See TracChangeset
for help on using the changeset viewer.