Ignore:
File:
1 edited

Legend:

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

    r1313ee9 rdfddfcd  
    5252#include <adt/list.h>
    5353#include <assert.h>
    54 #include <fibril_synch.h>
     54#include <fibril_sync.h>
    5555#include <sys/mman.h>
    5656#include <align.h>
     
    7171static int fat_match(fs_node_t **, fs_node_t *, const char *);
    7272static int fat_node_get(fs_node_t **, dev_handle_t, fs_index_t);
    73 static int fat_node_open(fs_node_t *);
    7473static int fat_node_put(fs_node_t *);
    7574static int fat_create_node(fs_node_t **, dev_handle_t, int);
     
    8483static bool fat_is_directory(fs_node_t *);
    8584static bool fat_is_file(fs_node_t *node);
    86 static dev_handle_t fat_device_get(fs_node_t *node);
    8785
    8886/*
     
    409407}
    410408
    411 int fat_node_open(fs_node_t *fn)
    412 {
    413         /*
    414          * Opening a file is stateless, nothing
    415          * to be done here.
    416          */
    417         return EOK;
    418 }
    419 
    420409int fat_node_put(fs_node_t *fn)
    421410{
     
    878867}
    879868
    880 dev_handle_t fat_device_get(fs_node_t *node)
    881 {
    882         return 0;
    883 }
    884 
    885869/** libfs operations */
    886870libfs_ops_t fat_libfs_ops = {
     
    888872        .match = fat_match,
    889873        .node_get = fat_node_get,
    890         .node_open = fat_node_open,
    891874        .node_put = fat_node_put,
    892875        .create = fat_create_node,
     
    898881        .size_get = fat_size_get,
    899882        .lnkcnt_get = fat_lnkcnt_get,
    900         .plb_get_char = fat_plb_get_char,
     883        .plb_get_char = fat_plb_get_char,
    901884        .is_directory = fat_is_directory,
    902         .is_file = fat_is_file,
    903         .device_get = fat_device_get
     885        .is_file = fat_is_file
    904886};
    905887
Note: See TracChangeset for help on using the changeset viewer.