freebsd-dev/sys/gnu
Bruce Evans d2165c2f7d Fixed bloatage of `struct inode'. We used 5 "spare" fields for ext2fs,
but when i_effnlink was added to support soft updates, there was only
room for 4 spares.  The number of spares was not reduced, so the inode
size became 260 (on i386's), or 512 after rounding up by malloc().
Use one spare field in `struct dinode' instead of the 5th spare field
in the inode and reduced to 4 spares in the inode so that the size is
256 again.

Changed the types of the spares in the inode from int to u_int32_t
so that the inode size has more chance of being <= 256 under other
arches, and downdated ext2fs to match (it was broken to use ints
before rev.1.1).
1998-10-13 15:45:43 +00:00
..
ext2fs Fixed bloatage of `struct inode'. We used 5 "spare" fields for ext2fs, 1998-10-13 15:45:43 +00:00
fs/ext2fs Fixed bloatage of `struct inode'. We used 5 "spare" fields for ext2fs, 1998-10-13 15:45:43 +00:00
i386 Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00