Changeset 46577995 in mainline for uspace/srv/fs/udf/udf_idx.c
- Timestamp:
- 2018-01-04T20:50:52Z (7 years ago)
- Children:
- e211ea04
- Parents:
- facacc71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_idx.c
rfacacc71 r46577995 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.