Changeset 5d5863c in mainline for uspace/srv/fs/exfat/exfat_ops.c
- Timestamp:
- 2011-08-14T09:23:46Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25c60f4
- Parents:
- 5f0e16e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_ops.c
r5f0e16e4 r5d5863c 41 41 #include "exfat_dentry.h" 42 42 #include "exfat_directory.h" 43 #include "exfat_bitmap.h" 43 44 #include "../../vfs/vfs.h" 44 45 #include <libfs.h> … … 60 61 #include <stdio.h> 61 62 62 #define EXFAT_NODE(node) ((node) ? (exfat_node_t *) (node)->data : NULL)63 #define FS_NODE(node) ((node) ? (node)->bp : NULL)64 #define DPS(bs) (BPS((bs)) / sizeof(exfat_dentry_t))65 66 63 /** Mutex protecting the list of cached free FAT nodes. */ 67 64 static FIBRIL_MUTEX_INITIALIZE(ffn_mutex); … … 73 70 * Forward declarations of FAT libfs operations. 74 71 */ 75 /* 76 static int exfat_bitmap_get(fs_node_t **, devmap_handle_t); 77 static int exfat_uctable_get(fs_node_t **, devmap_handle_t); 78 */ 72 79 73 static int exfat_root_get(fs_node_t **, devmap_handle_t); 80 74 static int exfat_match(fs_node_t **, fs_node_t *, const char *); 81 75 static int exfat_node_get(fs_node_t **, devmap_handle_t, fs_index_t); 82 76 static int exfat_node_open(fs_node_t *); 83 static int exfat_node_put(fs_node_t *); 77 /* static int exfat_node_put(fs_node_t *); */ 84 78 static int exfat_create_node(fs_node_t **, devmap_handle_t, int); 85 79 static int exfat_destroy_node(fs_node_t *); … … 459 453 } 460 454 461 /*462 455 int exfat_bitmap_get(fs_node_t **rfn, devmap_handle_t devmap_handle) 463 456 { 464 457 return exfat_node_get(rfn, devmap_handle, EXFAT_BITMAP_IDX); 465 458 } 466 */ 459 467 460 /* 468 461 int exfat_uctable_get(fs_node_t **rfn, devmap_handle_t devmap_handle)
Note:
See TracChangeset
for help on using the changeset viewer.