mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
3 changed files with 6 additions and 6 deletions
|
|
@ -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 a new issue