From: Lionel Sambuc Date: Fri, 2 May 2014 05:41:15 +0000 (+0200) Subject: Use fixed size type for on-disk representation X-Git-Tag: v3.3.0~355 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=431911c1fff85c000706b7e92288706b06da115e;p=minix.git 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 --- diff --git a/servers/mfs/mfsdir.h b/servers/mfs/mfsdir.h index 23acc745f..370c07e98 100644 --- a/servers/mfs/mfsdir.h +++ b/servers/mfs/mfsdir.h @@ -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;