mufs: mufs_mount() read the tree pointer of the root directory
This commit is contained in:
parent
0c284d1ba7
commit
c5c24788c8
3 changed files with 10 additions and 7 deletions
|
@ -1,10 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
struct mufs_tree {
|
||||
uint32_t root;
|
||||
uint8_t depth;
|
||||
};
|
||||
|
||||
int mufs_lookup_page(struct mufs *fs, struct mufs_tree *tree, uint32_t *page,
|
||||
uint32_t va);
|
||||
int mufs_alloc_page(struct mufs *fs, struct mufs_tree *tree, uint32_t *page,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue