From owner-cvs-sys Mon Jun 10 22:17:55 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA24609 for cvs-sys-outgoing; Mon, 10 Jun 1996 22:17:55 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA24576; Mon, 10 Jun 1996 22:17:37 -0700 (PDT) Date: Mon, 10 Jun 1996 22:17:37 -0700 (PDT) From: Bruce Evans Message-Id: <199606110517.WAA24576@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/06/10 22:17:37 Branch: sys/ufs/ffs RELENG_2_1_0 Modified: sys/ufs/ffs ffs_vfsops.c Log: Brought in the fix from rev.1.33 - use the freespace() macro instead of buggy explicit code to fix the `Avail' count returned by statfs() for file systems larger than 11GB. This also fixes a minor rounding bug. The count is still wrong for file systems larger than 1TB/minfree (normally 128GB). Revision Changes Path 1.21.4.2 +2 -3 src/sys/ufs/ffs/ffs_vfsops.c