Date: Tue, 8 Oct 2002 21:01:24 -0700 (PDT) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Message-ID: <200210090401.g9941OIo017350@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210090401.g9941OIo017350>
