Changeset b7fd2a0 in mainline for uspace/srv/fs/udf/udf_idx.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_idx.c
r36f0738 rb7fd2a0 91 91 * 92 92 */ 93 int udf_idx_init(void)93 errno_t udf_idx_init(void) 94 94 { 95 95 if (!hash_table_create(&udf_idx, 0, 0, &udf_idx_ops)) … … 104 104 * 105 105 */ 106 int udf_idx_fini(void)106 errno_t udf_idx_fini(void) 107 107 { 108 108 hash_table_destroy(&udf_idx); … … 119 119 * 120 120 */ 121 int udf_idx_get(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index)121 errno_t 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); … … 153 153 * 154 154 */ 155 int udf_idx_add(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index)155 errno_t 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); … … 199 199 * 200 200 */ 201 int udf_idx_del(udf_node_t *node)201 errno_t 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.