Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/src/ops.c

    r5e801dc r0db0df2  
    113113}
    114114
    115 static bool open_nodes_key_equal(const void *key_arg, const ht_link_t *item)
     115static bool open_nodes_key_equal(const void *key_arg, size_t hash, const ht_link_t *item)
    116116{
    117117        const node_key_t *key = key_arg;
     
    122122}
    123123
    124 static hash_table_ops_t open_nodes_ops = {
     124static const hash_table_ops_t open_nodes_ops = {
    125125        .hash = open_nodes_hash,
    126126        .key_hash = open_nodes_key_hash,
     
    810810}
    811811
    812 /** Extract device identifier from node.
     812/** Get service ID for a service-special file.
    813813 *
    814814 * @param node Node to extract id from
    815815 *
    816  * @return id of device, where is the filesystem
     816 * @return Service ID for a service-special file, zero for a regular file.
    817817 *
    818818 */
    819819service_id_t ext4_service_get(fs_node_t *fn)
    820820{
    821         ext4_node_t *enode = EXT4_NODE(fn);
    822         return enode->instance->service_id;
     821        return 0;
    823822}
    824823
Note: See TracChangeset for help on using the changeset viewer.