From owner-cvs-all Fri Nov 3 8:42: 4 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D4B8D37B4F9; Fri, 3 Nov 2000 08:41:59 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA12192; Fri, 3 Nov 2000 08:41:59 -0800 (PST) (envelope-from bde@FreeBSD.org) Message-Id: <200011031641.IAA12192@freefall.freebsd.org> From: Bruce Evans Date: Fri, 3 Nov 2000 08:41:55 -0800 (PST) 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 ext2_vfsops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bde 2000/11/03 08:41:55 PST Modified files: sys/gnu/ext2fs ext2_extern.h ext2_fs.h ext2_linux_balloc.c ext2_vfsops.c Log: Support filesystems with the not-so-new "sparse_superblocks" feature. When this feature is enabled, mke2fs doesn't necessarily allocate a super block and its associated descriptor blocks for every group. The (non-)allocations are reflected in the block bitmap. Since the filesystem code doesn't write to these blocks except for the first superblock, all it has to do to support them is to not count them in ext2_statfs() and not attempt to check them at mount time in ext2_check_blocks_bitmap() (the check has never been enabled in FreeBSD anyway). Revision Changes Path 1.23 +2 -0 src/sys/gnu/ext2fs/ext2_extern.h 1.9 +2 -2 src/sys/gnu/ext2fs/ext2_fs.h 1.15 +31 -7 src/sys/gnu/ext2fs/ext2_linux_balloc.c 1.70 +13 -9 src/sys/gnu/ext2fs/ext2_vfsops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message