Subversion Repositories HelenOS

Rev

Rev 2845 | Rev 2855 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2845 Rev 2852
Line 274... Line 274...
274
    hash_table_insert(&fin_hash, key, &node->fin_link);
274
    hash_table_insert(&fin_hash, key, &node->fin_link);
275
 
275
 
276
    return node;
276
    return node;
277
}
277
}
278
 
278
 
-
 
279
static void fat_node_put(void *node)
-
 
280
{
-
 
281
    /* TODO */
-
 
282
}
-
 
283
 
279
static void *fat_match(void *prnt, const char *component)
284
static void *fat_match(void *prnt, const char *component)
280
{
285
{
281
    fat_node_t *parentp = (fat_node_t *)prnt;
286
    fat_node_t *parentp = (fat_node_t *)prnt;
282
    char name[FAT_NAME_LEN + 1 + FAT_EXT_LEN + 1];
287
    char name[FAT_NAME_LEN + 1 + FAT_EXT_LEN + 1];
283
    unsigned i, j;
288
    unsigned i, j;
Line 412... Line 417...
412
 
417
 
413
/** libfs operations */
418
/** libfs operations */
414
libfs_ops_t fat_libfs_ops = {
419
libfs_ops_t fat_libfs_ops = {
415
    .match = fat_match,
420
    .match = fat_match,
416
    .node_get = fat_node_get,
421
    .node_get = fat_node_get,
-
 
422
    .node_put = fat_node_put,
417
    .create = NULL,
423
    .create = NULL,
418
    .destroy = NULL,
424
    .destroy = NULL,
419
    .link = NULL,
425
    .link = NULL,
420
    .unlink = NULL,
426
    .unlink = NULL,
421
    .index_get = fat_index_get,
427
    .index_get = fat_index_get,