diff options
Diffstat (limited to 'fatfs/fatfs.h')
-rw-r--r-- | fatfs/fatfs.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/fatfs/fatfs.h b/fatfs/fatfs.h index 9d385463..3c3d8366 100644 --- a/fatfs/fatfs.h +++ b/fatfs/fatfs.h @@ -36,9 +36,6 @@ struct disknode { cluster_t start_cluster; - /* Links on hash list. */ - struct node *hnext, **hprevp; - /* The inode as returned by virtual inode management routines. */ inode_t inode; @@ -71,6 +68,18 @@ struct disknode int dir_idx; }; +struct lookup_context +{ + /* The inode as returned by virtual inode management routines. */ + inode_t inode; + + /* Use BUF as the directory file map. */ + vm_address_t buf; + + /* Directory this node was allocated in (used by diskfs_alloc_node). */ + struct node *dir; +}; + struct user_pager_info { struct node *node; @@ -117,8 +126,6 @@ void flush_node_pager (struct node *node); void write_all_disknodes (); -struct node *ifind (ino_t inum); - error_t fat_get_next_cluster (cluster_t cluster, cluster_t *next_cluster); void fat_to_unix_filename (const char *, char *); |