Changeset a35b458 in mainline for uspace/srv/fs/udf/udf.c
- Timestamp:
- 2018-03-02T20:10:49Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf.c
r3061bc1 ra35b458 63 63 log_init(NAME); 64 64 log_msg(LOG_DEFAULT, LVL_NOTE, "HelenOS UDF 1.02 file system server"); 65 65 66 66 if (argc == 3) { 67 67 if (!str_cmp(argv[1], "--instance")) … … 72 72 } 73 73 } 74 74 75 75 async_sess_t *vfs_sess = 76 76 service_connect_blocking(SERVICE_VFS, INTERFACE_VFS_DRIVER, 0); … … 79 79 return 2; 80 80 } 81 81 82 82 errno_t rc = fs_register(vfs_sess, &udf_vfs_info, &udf_ops, 83 83 &udf_libfs_ops); 84 84 if (rc != EOK) 85 85 goto err; 86 86 87 87 rc = udf_idx_init(); 88 88 if (rc != EOK) 89 89 goto err; 90 90 91 91 log_msg(LOG_DEFAULT, LVL_NOTE, "Accepting connections"); 92 92 task_retval(0); 93 93 async_manager(); 94 94 95 95 /* Not reached */ 96 96 return 0; 97 97 98 98 err: 99 99 log_msg(LOG_DEFAULT, LVL_FATAL, "Failed to register file system: %s", str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.