Subversion Repositories HelenOS

Rev

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

Rev 2852 Rev 2855
Line 276... Line 276...
276
    return node;
276
    return node;
277
}
277
}
278
 
278
 
279
static void fat_node_put(void *node)
279
static void fat_node_put(void *node)
280
{
280
{
-
 
281
    fat_node_t *nodep = (fat_node_t *)node;
-
 
282
 
281
    /* TODO */
283
    if (nodep->refcnt-- == 1)
-
 
284
        list_append(&nodep->ffn_link, &ffn_head);
282
}
285
}
283
 
286
 
284
static void *fat_match(void *prnt, const char *component)
287
static void *fat_match(void *prnt, const char *component)
285
{
288
{
286
    fat_node_t *parentp = (fat_node_t *)prnt;
289
    fat_node_t *parentp = (fat_node_t *)prnt;