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:
Lionel Sambuc 2014-05-02 07:41:15 +02:00
parent 91c835edc2
commit 431911c1ff

View file

@ -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;