Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs genfs_getpages: Localize a few more variables.
details: https://anonhg.NetBSD.org/src/rev/21dc77614a06
branches: trunk
changeset: 751209:21dc77614a06
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Jan 28 07:26:25 2010 +0000
description:
genfs_getpages: Localize a few more variables.
diffstat:
sys/miscfs/genfs/genfs_io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 55b1c19ce23e -r 21dc77614a06 sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c Thu Jan 28 07:24:55 2010 +0000
+++ b/sys/miscfs/genfs/genfs_io.c Thu Jan 28 07:26:25 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_io.c,v 1.24 2010/01/28 07:24:55 uebayasi Exp $ */
+/* $NetBSD: genfs_io.c,v 1.25 2010/01/28 07:26:25 uebayasi Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.24 2010/01/28 07:24:55 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.25 2010/01/28 07:26:25 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -107,7 +107,6 @@
off_t diskeof, memeof;
off_t offset, origoffset, startoffset, endoffset;
- daddr_t lbn, blkno;
int i, error, npages, orignpages, npgs, run, ridx;
int fs_bshift, fs_bsize, dev_bshift;
const int flags = ap->a_flags;
@@ -453,6 +452,7 @@
for (offset = startoffset;
bytes > 0;
offset += iobytes, bytes -= iobytes) {
+ daddr_t lbn, blkno;
int pidx;
/*
Home |
Main Index |
Thread Index |
Old Index