From owner-cvs-all Tue Oct 13 08:45:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07492 for cvs-all-outgoing; Tue, 13 Oct 1998 08:45:46 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07487; Tue, 13 Oct 1998 08:45:45 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA14792; Tue, 13 Oct 1998 08:45:44 -0700 (PDT) Date: Tue, 13 Oct 1998 08:45:44 -0700 (PDT) Message-Id: <199810131545.IAA14792@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/gnu/ext2fs ext2_extern.h ext2_fs.h ext2_linux_balloc.c src/sys/ufs/ufs inode.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/10/13 08:45:43 PDT Modified files: sys/gnu/ext2fs ext2_extern.h ext2_fs.h ext2_linux_balloc.c sys/ufs/ufs inode.h Log: 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). Revision Changes Path 1.21 +2 -2 src/sys/gnu/ext2fs/ext2_extern.h 1.4 +2 -2 src/sys/gnu/ext2fs/ext2_fs.h 1.9 +2 -2 src/sys/gnu/ext2fs/ext2_linux_balloc.c 1.24 +2 -2 src/sys/ufs/ufs/inode.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message