mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
Shrink struct inode by 20 bytes, so that malloc wastes less space.
Pointed out by: bde
This commit is contained in:
parent
0084fb021b
commit
f10c6b8f35
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26001
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user