Changeset 80e8482 in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2008-04-15T03:01:59Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45f244b
Parents:
d9e9caf
Message:

Add stubs for unimplemented FAT libfs operations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    rd9e9caf r80e8482  
    305305                list_append(&nodep->ffn_link, &ffn_head);
    306306        futex_up(&fin_futex);
     307}
     308
     309static void *fat_create(int flags)
     310{
     311        return NULL;    /* not supported at the moment */
     312}
     313
     314static bool fat_destroy(void *node)
     315{
     316        return false;   /* not supported at the moment */
     317}
     318
     319static bool fat_link(void *prnt, void *chld, const char *name)
     320{
     321        return false;   /* not supported at the moment */
     322}
     323
     324static int fat_unlink(void *prnt, void *chld)
     325{
     326        return ENOTSUP; /* not supported at the moment */
    307327}
    308328
     
    446466        .node_get = fat_node_get,
    447467        .node_put = fat_node_put,
    448         .create = NULL,
    449         .destroy = NULL,
    450         .link = NULL,
    451         .unlink = NULL,
     468        .create = fat_create,
     469        .destroy = fat_destroy,
     470        .link = fat_link,
     471        .unlink = fat_unlink,
    452472        .index_get = fat_index_get,
    453473        .size_get = fat_size_get,
Note: See TracChangeset for help on using the changeset viewer.