Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs be consistent when casting arg to lblktosize() i...
details: https://anonhg.NetBSD.org/src/rev/fd483bb608a7
branches: trunk
changeset: 514347:fd483bb608a7
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Aug 30 15:17:28 2001 +0000
description:
be consistent when casting arg to lblktosize() in UVM_PAGE_TRKOWN debug code
diffstat:
sys/ufs/ffs/ffs_alloc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 90544d545d2d -r fd483bb608a7 sys/ufs/ffs/ffs_alloc.c
--- a/sys/ufs/ffs/ffs_alloc.c Thu Aug 30 14:37:25 2001 +0000
+++ b/sys/ufs/ffs/ffs_alloc.c Thu Aug 30 15:17:28 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_alloc.c,v 1.47 2001/08/24 10:24:47 wiz Exp $ */
+/* $NetBSD: ffs_alloc.c,v 1.48 2001/08/30 15:17:28 lukem Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -206,8 +206,8 @@
if (ITOV(ip)->v_type == VREG) {
struct vm_page *pg;
struct uvm_object *uobj = &ITOV(ip)->v_uvm.u_obj;
- voff_t off = trunc_page(lblktosize(fs, lbprev));
- voff_t endoff = round_page(lblktosize(fs, lbprev) + osize);
+ voff_t off = trunc_page(lblktosize(fs, (voff_t)lbprev));
+ voff_t endoff = round_page(lblktosize(fs, (voff_t)lbprev) + osize);
simple_lock(&uobj->vmobjlock);
while (off < endoff) {
Home |
Main Index |
Thread Index |
Old Index