Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/cdfs/cdfs_ops.c

    r5e801dc r0db0df2  
    11/*
     2 * Copyright (c) 2024 Jiri Svoboda
    23 * Copyright (c) 2011 Martin Decky
    34 * All rights reserved.
     
    297298}
    298299
    299 static bool nodes_key_equal(const void *k, const ht_link_t *item)
     300static bool nodes_key_equal(const void *k, size_t hash, const ht_link_t *item)
    300301{
    301302        cdfs_node_t *node = hash_table_get_inst(item, cdfs_node_t, nh_link);
     
    323324
    324325/** Nodes hash table operations */
    325 static hash_table_ops_t nodes_ops = {
     326static const hash_table_ops_t nodes_ops = {
    326327        .hash = nodes_hash,
    327328        .key_hash = nodes_key_hash,
     
    10931094
    10941095        /* Initialize the block layer */
    1095         errno_t rc = block_init(service_id, BLOCK_SIZE);
     1096        errno_t rc = block_init(service_id);
    10961097        if (rc != EOK)
    10971098                return rc;
     
    11501151{
    11511152        /* Initialize the block layer */
    1152         errno_t rc = block_init(service_id, BLOCK_SIZE);
     1153        errno_t rc = block_init(service_id);
    11531154        if (rc != EOK)
    11541155                return rc;
Note: See TracChangeset for help on using the changeset viewer.