fix fs_mkdir and fs_cd

This commit is contained in:
2025-05-16 14:32:44 +03:00
parent ff684fad45
commit 941c51200c
2 changed files with 91 additions and 71 deletions

View File

@@ -46,6 +46,13 @@ struct fs_file_description {
unsigned int rw_offset;
};
struct resolved_path {
int target_inode_ptr;
int parent_inode_ptr;
char target_fname[FS_MAX_FNAME_LEN+1];
char parent_fname[FS_MAX_FNAME_LEN+1];
};
char *fs_get_cwd(void);
int fs_create(void *d);