Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/ufs/ufs Pull up revision 1.22 (requested by tls in ...
details: https://anonhg.NetBSD.org/src/rev/c1699025c7a4
branches: netbsd-1-6
changeset: 530613:c1699025c7a4
user: tron <tron%NetBSD.org@localhost>
date: Tue Aug 26 06:46:51 2003 +0000
description:
Pull up revision 1.22 (requested by tls in ticket #1434):
Correct use of MAXBSIZE where MAXPHYS was intended. This is a necessary
first step towards per-device MAXPHYS, and has the beneficial side effect
of allowing clustering to MAXPHYS even on systems that need to run with
a reduced MAXBSIZE to get more metadata buffers.
diffstat:
sys/ufs/ufs/ufs_bmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2b4b6ee602fa -r c1699025c7a4 sys/ufs/ufs/ufs_bmap.c
--- a/sys/ufs/ufs/ufs_bmap.c Tue Aug 26 06:46:43 2003 +0000
+++ b/sys/ufs/ufs/ufs_bmap.c Tue Aug 26 06:46:51 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_bmap.c,v 1.17 2002/05/11 12:23:53 enami Exp $ */
+/* $NetBSD: ufs_bmap.c,v 1.17.4.1 2003/08/26 06:46:51 tron Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_bmap.c,v 1.17 2002/05/11 12:23:53 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_bmap.c,v 1.17.4.1 2003/08/26 06:46:51 tron Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -136,7 +136,7 @@
* don't create a block larger than the device can handle.
*/
*runp = 0;
- maxrun = MAXBSIZE / mp->mnt_stat.f_iosize - 1;
+ maxrun = MAXPHYS / mp->mnt_stat.f_iosize - 1;
}
if (bn >= 0 && bn < NDADDR) {
Home |
Main Index |
Thread Index |
Old Index