Use fixed size type for on-disk representation
Use fixed size for directory entries records, instead of semantic type in the struct which is used to access on-disk records. Change-Id: If8816d367eaa7070ccb17202ffc9047b5aee5d3e
This commit is contained in:
parent
91c835edc2
commit
431911c1ff
|
@ -13,7 +13,7 @@
|
|||
#define MFS_DIRSIZ 60
|
||||
|
||||
struct direct {
|
||||
pino_t mfs_d_ino;
|
||||
uint32_t mfs_d_ino;
|
||||
char mfs_d_name[MFS_DIRSIZ];
|
||||
} __packed;
|
||||
|
||||
|
|
Loading…
Reference in a new issue