mufs: embed struct mufs_dtree in struct mufs_dentry and clean up code
This commit is contained in:
parent
0bc9c6fc7a
commit
89ec3a94c0
2 changed files with 14 additions and 15 deletions
|
@ -1,10 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
struct mufs_dentry {
|
||||
uint8_t type;
|
||||
struct mufs_dtree {
|
||||
uint32_t file_size;
|
||||
uint32_t root;
|
||||
uint8_t depth;
|
||||
} __attribute__((packed));
|
||||
|
||||
struct mufs_dentry {
|
||||
uint8_t type;
|
||||
struct mufs_dtree tree;
|
||||
uint16_t path_len;
|
||||
} __attribute__((packed));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue