diff --git a/servers/ext2/const.h b/servers/ext2/const.h index a939716f0..6a511cafd 100644 --- a/servers/ext2/const.h +++ b/servers/ext2/const.h @@ -3,7 +3,10 @@ /* Tables sizes */ -#define NR_INODES 256 /* # slots in "in core" inode table */ +#define NR_INODES 512 /* # slots in "in core" inode table; + * should be more or less the same as + * NR_VNODES in vfs + */ #define GETDENTS_BUFSIZ 257 #define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */ diff --git a/servers/mfs/const.h b/servers/mfs/const.h index 4ec9a5efa..8d88fbf1a 100644 --- a/servers/mfs/const.h +++ b/servers/mfs/const.h @@ -7,7 +7,10 @@ #define V2_NR_DZONES 7 /* # direct zone numbers in a V2 inode */ #define V2_NR_TZONES 10 /* total # zone numbers in a V2 inode */ -#define NR_INODES 256 /* # slots in "in core" inode table */ +#define NR_INODES 512 /* # slots in "in core" inode table, + * should be more or less the same as + * NR_VNODES in vfs + */ #define GETDENTS_BUFSIZ 257 #define INODE_HASH_LOG2 7 /* 2 based logarithm of the inode hash size */