Changes in uspace/srv/fs/fat/fat_ops.c [1313ee9:dfddfcd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r1313ee9 rdfddfcd 52 52 #include <adt/list.h> 53 53 #include <assert.h> 54 #include <fibril_sync h.h>54 #include <fibril_sync.h> 55 55 #include <sys/mman.h> 56 56 #include <align.h> … … 71 71 static int fat_match(fs_node_t **, fs_node_t *, const char *); 72 72 static int fat_node_get(fs_node_t **, dev_handle_t, fs_index_t); 73 static int fat_node_open(fs_node_t *);74 73 static int fat_node_put(fs_node_t *); 75 74 static int fat_create_node(fs_node_t **, dev_handle_t, int); … … 84 83 static bool fat_is_directory(fs_node_t *); 85 84 static bool fat_is_file(fs_node_t *node); 86 static dev_handle_t fat_device_get(fs_node_t *node);87 85 88 86 /* … … 409 407 } 410 408 411 int fat_node_open(fs_node_t *fn)412 {413 /*414 * Opening a file is stateless, nothing415 * to be done here.416 */417 return EOK;418 }419 420 409 int fat_node_put(fs_node_t *fn) 421 410 { … … 878 867 } 879 868 880 dev_handle_t fat_device_get(fs_node_t *node)881 {882 return 0;883 }884 885 869 /** libfs operations */ 886 870 libfs_ops_t fat_libfs_ops = { … … 888 872 .match = fat_match, 889 873 .node_get = fat_node_get, 890 .node_open = fat_node_open,891 874 .node_put = fat_node_put, 892 875 .create = fat_create_node, … … 898 881 .size_get = fat_size_get, 899 882 .lnkcnt_get = fat_lnkcnt_get, 900 .plb_get_char = 883 .plb_get_char = fat_plb_get_char, 901 884 .is_directory = fat_is_directory, 902 .is_file = fat_is_file, 903 .device_get = fat_device_get 885 .is_file = fat_is_file 904 886 }; 905 887
Note:
See TracChangeset
for help on using the changeset viewer.