Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r1313ee9 r0da4e41  
    6969static int tmpfs_match(fs_node_t **, fs_node_t *, const char *);
    7070static int tmpfs_node_get(fs_node_t **, dev_handle_t, fs_index_t);
    71 static int tmpfs_node_open(fs_node_t *);
    7271static int tmpfs_node_put(fs_node_t *);
    7372static int tmpfs_create_node(fs_node_t **, dev_handle_t, int);
     
    118117}
    119118
    120 static dev_handle_t tmpfs_device_get(fs_node_t *fn)
    121 {
    122         return 0;
    123 }
    124 
    125119/** libfs operations */
    126120libfs_ops_t tmpfs_libfs_ops = {
     
    128122        .match = tmpfs_match,
    129123        .node_get = tmpfs_node_get,
    130         .node_open = tmpfs_node_open,
    131124        .node_put = tmpfs_node_put,
    132125        .create = tmpfs_create_node,
     
    140133        .plb_get_char = tmpfs_plb_get_char,
    141134        .is_directory = tmpfs_is_directory,
    142         .is_file = tmpfs_is_file,
    143         .device_get = tmpfs_device_get
     135        .is_file = tmpfs_is_file
    144136};
    145137
     
    249241        }
    250242        return EOK;     
    251 }
    252 
    253 int tmpfs_node_open(fs_node_t *fn)
    254 {
    255         /* nothing to do */
    256         return EOK;
    257243}
    258244
Note: See TracChangeset for help on using the changeset viewer.