From f10c6b8f35667e2bbfb6e996878bbe1648a274a6 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 22 May 1997 07:30:55 +0000 Subject: [PATCH] Shrink struct inode by 20 bytes, so that malloc wastes less space. Pointed out by: bde --- sys/gnu/ext2fs/inode.h | 4 ++-- sys/gnu/fs/ext2fs/inode.h | 4 ++-- sys/ufs/ufs/inode.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/gnu/ext2fs/inode.h b/sys/gnu/ext2fs/inode.h index 238f838a527..73ed6b63544 100644 --- a/sys/gnu/ext2fs/inode.h +++ b/sys/gnu/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.13 1997/03/03 16:25:46 bde Exp $ + * $Id: inode.h,v 1.14 1997/04/01 08:02:00 bde Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -87,7 +87,7 @@ struct inode { doff_t i_offset; /* Offset of free space in directory. */ ino_t i_ino; /* Inode number of found directory. */ u_int32_t i_reclen; /* Size of found directory entry. */ - int i_spare[10]; /* XXX spare storage (for ext2fs) */ + int i_spare[5]; /* XXX spare storage (for ext2fs) */ /* * The on-disk dinode itself. */ diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 238f838a527..73ed6b63544 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.13 1997/03/03 16:25:46 bde Exp $ + * $Id: inode.h,v 1.14 1997/04/01 08:02:00 bde Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -87,7 +87,7 @@ struct inode { doff_t i_offset; /* Offset of free space in directory. */ ino_t i_ino; /* Inode number of found directory. */ u_int32_t i_reclen; /* Size of found directory entry. */ - int i_spare[10]; /* XXX spare storage (for ext2fs) */ + int i_spare[5]; /* XXX spare storage (for ext2fs) */ /* * The on-disk dinode itself. */ diff --git a/sys/ufs/ufs/inode.h b/sys/ufs/ufs/inode.h index 238f838a527..73ed6b63544 100644 --- a/sys/ufs/ufs/inode.h +++ b/sys/ufs/ufs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.13 1997/03/03 16:25:46 bde Exp $ + * $Id: inode.h,v 1.14 1997/04/01 08:02:00 bde Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -87,7 +87,7 @@ struct inode { doff_t i_offset; /* Offset of free space in directory. */ ino_t i_ino; /* Inode number of found directory. */ u_int32_t i_reclen; /* Size of found directory entry. */ - int i_spare[10]; /* XXX spare storage (for ext2fs) */ + int i_spare[5]; /* XXX spare storage (for ext2fs) */ /* * The on-disk dinode itself. */