Changes in uspace/srv/fs/udf/udf_idx.c [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_idx.c
rb7fd2a0 r38d150e 88 88 /** Initialization of hash table 89 89 * 90 * @return EOK on success or a nerror code.91 * 92 */ 93 errno_t udf_idx_init(void)90 * @return EOK on success or a negative error code. 91 * 92 */ 93 int udf_idx_init(void) 94 94 { 95 95 if (!hash_table_create(&udf_idx, 0, 0, &udf_idx_ops)) … … 101 101 /** Delete hash table 102 102 * 103 * @return EOK on success or a nerror code.104 * 105 */ 106 errno_t udf_idx_fini(void)103 * @return EOK on success or a negative error code. 104 * 105 */ 106 int udf_idx_fini(void) 107 107 { 108 108 hash_table_destroy(&udf_idx); … … 116 116 * @param index Absolute position of ICB (sector) 117 117 * 118 * @return EOK on success or a nerror code.119 * 120 */ 121 errno_t udf_idx_get(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index)118 * @return EOK on success or a negative error code. 119 * 120 */ 121 int udf_idx_get(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index) 122 122 { 123 123 fibril_mutex_lock(&udf_idx_lock); … … 150 150 * @param index Absolute position of ICB (sector) 151 151 * 152 * @return EOK on success or a nerror code.153 * 154 */ 155 errno_t udf_idx_add(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index)152 * @return EOK on success or a negative error code. 153 * 154 */ 155 int udf_idx_add(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index) 156 156 { 157 157 fibril_mutex_lock(&udf_idx_lock); … … 196 196 * @param node UDF node 197 197 * 198 * @return EOK on success or a nerror code.199 * 200 */ 201 errno_t udf_idx_del(udf_node_t *node)198 * @return EOK on success or a negative error code. 199 * 200 */ 201 int udf_idx_del(udf_node_t *node) 202 202 { 203 203 assert(node->ref_cnt == 0);
Note:
See TracChangeset
for help on using the changeset viewer.