Shrink struct inode by 20 bytes, so that malloc wastes less space.

Pointed out by:	bde
This commit is contained in:
Poul-Henning Kamp 1997-05-22 07:30:55 +00:00
parent 0084fb021b
commit f10c6b8f35
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26001
3 changed files with 6 additions and 6 deletions

View File

@ -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.
*/

View File

@ -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.
*/

View File

@ -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.
*/