]> Zhao Yanbai Git Server - minix.git/commitdiff
Use fixed size type for on-disk representation
authorLionel Sambuc <lionel@minix3.org>
Fri, 2 May 2014 05:41:15 +0000 (07:41 +0200)
committerLionel Sambuc <lionel@minix3.org>
Mon, 28 Jul 2014 15:05:24 +0000 (17:05 +0200)
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

servers/mfs/mfsdir.h

index 23acc745f35d0fed0744e95d2f95cab752521a7b..370c07e98cb9895b5b6203b203487641fb9586cb 100644 (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;