Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/udf/udf_idx.c

    rb7fd2a0 r38d150e  
    8888/** Initialization of hash table
    8989 *
    90  * @return EOK on success or an error code.
    91  *
    92  */
    93 errno_t udf_idx_init(void)
     90 * @return EOK on success or a negative error code.
     91 *
     92 */
     93int udf_idx_init(void)
    9494{
    9595        if (!hash_table_create(&udf_idx, 0, 0, &udf_idx_ops))
     
    101101/** Delete hash table
    102102 *
    103  * @return EOK on success or an error code.
    104  *
    105  */
    106 errno_t udf_idx_fini(void)
     103 * @return EOK on success or a negative error code.
     104 *
     105 */
     106int udf_idx_fini(void)
    107107{
    108108        hash_table_destroy(&udf_idx);
     
    116116 * @param index    Absolute position of ICB (sector)
    117117 *
    118  * @return EOK on success or an error 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 */
     121int udf_idx_get(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index)
    122122{
    123123        fibril_mutex_lock(&udf_idx_lock);
     
    150150 * @param index    Absolute position of ICB (sector)
    151151 *
    152  * @return EOK on success or an error 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 */
     155int udf_idx_add(udf_node_t **udfn, udf_instance_t *instance, fs_index_t index)
    156156{
    157157        fibril_mutex_lock(&udf_idx_lock);
     
    196196 * @param node UDF node
    197197 *
    198  * @return EOK on success or an error 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 */
     201int udf_idx_del(udf_node_t *node)
    202202{
    203203        assert(node->ref_cnt == 0);
Note: See TracChangeset for help on using the changeset viewer.