|
|
@ -12,9 +12,6 @@ struct mufs_dentry { |
|
|
|
uint16_t path_len; |
|
|
|
uint16_t path_len; |
|
|
|
} __attribute__((packed)); |
|
|
|
} __attribute__((packed)); |
|
|
|
|
|
|
|
|
|
|
|
#define MUFS_FILE BIT(0) |
|
|
|
|
|
|
|
#define MUFS_DIR BIT(1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct mufs_tree *resolve_path(struct mufs *fs, const char *path, |
|
|
|
struct mufs_tree *resolve_path(struct mufs *fs, const char *path, |
|
|
|
struct mufs_stat *stat); |
|
|
|
struct mufs_stat *stat); |
|
|
|
size_t read_dirent(struct mufs *fs, struct mufs_tree *tree, |
|
|
|
size_t read_dirent(struct mufs *fs, struct mufs_tree *tree, |
|
|
|