Changes in uspace/lib/ext4/src/ops.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/ops.c
r5e801dc r0db0df2 113 113 } 114 114 115 static bool open_nodes_key_equal(const void *key_arg, const ht_link_t *item)115 static bool open_nodes_key_equal(const void *key_arg, size_t hash, const ht_link_t *item) 116 116 { 117 117 const node_key_t *key = key_arg; … … 122 122 } 123 123 124 static hash_table_ops_t open_nodes_ops = {124 static const hash_table_ops_t open_nodes_ops = { 125 125 .hash = open_nodes_hash, 126 126 .key_hash = open_nodes_key_hash, … … 810 810 } 811 811 812 /** Extract device identifier from node.812 /** Get service ID for a service-special file. 813 813 * 814 814 * @param node Node to extract id from 815 815 * 816 * @return id of device, where is the filesystem816 * @return Service ID for a service-special file, zero for a regular file. 817 817 * 818 818 */ 819 819 service_id_t ext4_service_get(fs_node_t *fn) 820 820 { 821 ext4_node_t *enode = EXT4_NODE(fn); 822 return enode->instance->service_id; 821 return 0; 823 822 } 824 823
Note:
See TracChangeset
for help on using the changeset viewer.