From owner-cvs-all Tue Oct 8 21: 1:25 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD88537B401; Tue, 8 Oct 2002 21:01:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EE6843E7B; Tue, 8 Oct 2002 21:01:24 -0700 (PDT) (envelope-from mckusick@FreeBSD.org) Received: from freefall.freebsd.org (mckusick@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9941OCo017351; Tue, 8 Oct 2002 21:01:24 -0700 (PDT) (envelope-from mckusick@freefall.freebsd.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9941OIo017350; Tue, 8 Oct 2002 21:01:24 -0700 (PDT) Message-Id: <200210090401.g9941OIo017350@freefall.freebsd.org> From: Kirk McKusick Date: Tue, 8 Oct 2002 21:01:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mckusick 2002/10/08 21:01:24 PDT Modified files: sys/ufs/ffs ffs_vfsops.c Log: The appropriate units for disk block addresses are always DEV_BSIZE, even when the underlying device has a larger sector size. Therefore, the filesystem code should not (and with this patch does not) try to use the underlying sector size when doing disk block address calculations. This patch fixes problems in -current when using the swap-based memory-disk device (mdconfig -a -t swap ...). This bugfix is not relevant to -stable as -stable does not have the memory-disk device. Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.192 +1 -8 src/sys/ufs/ffs/ffs_vfsops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message