Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/mfs/mfs_ops.c

    r5e801dc r0db0df2  
    11/*
     2 * Copyright (c) 2024 Jiri Svoboda
    23 * Copyright (c) 2011 Maurizio Lombardi
    34 * All rights reserved.
     
    114115
    115116static bool
    116 open_nodes_key_equal(const void *key, const ht_link_t *item)
     117open_nodes_key_equal(const void *key, size_t hash, const ht_link_t *item)
    117118{
    118119        const node_key_t *node_key = key;
     
    123124}
    124125
    125 static hash_table_ops_t open_nodes_ops = {
     126static const hash_table_ops_t open_nodes_ops = {
    126127        .hash = open_nodes_hash,
    127128        .key_hash = open_nodes_key_hash,
     
    283284
    284285        /* Initialize libblock */
    285         rc = block_init(service_id, 4096);
     286        rc = block_init(service_id);
    286287        if (rc != EOK)
    287288                return rc;
     
    310311
    311312        /* Initialize libblock */
    312         rc = block_init(service_id, 4096);
     313        rc = block_init(service_id);
    313314        if (rc != EOK)
    314315                return rc;
     
    392393mfs_service_get(fs_node_t *fsnode)
    393394{
    394         struct mfs_node *node = fsnode->data;
    395         return node->instance->service_id;
     395        return 0;
    396396}
    397397
Note: See TracChangeset for help on using the changeset viewer.