Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs Don't bother to subtract 0.
details: https://anonhg.NetBSD.org/src/rev/85c17cd20227
branches: trunk
changeset: 522219:85c17cd20227
user: enami <enami%NetBSD.org@localhost>
date: Wed Feb 13 05:20:41 2002 +0000
description:
Don't bother to subtract 0.
diffstat:
sys/miscfs/genfs/genfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ee7be450bd53 -r 85c17cd20227 sys/miscfs/genfs/genfs_vnops.c
--- a/sys/miscfs/genfs/genfs_vnops.c Wed Feb 13 05:13:24 2002 +0000
+++ b/sys/miscfs/genfs/genfs_vnops.c Wed Feb 13 05:20:41 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_vnops.c,v 1.47 2002/02/12 01:08:12 enami Exp $ */
+/* $NetBSD: genfs_vnops.c,v 1.48 2002/02/13 05:20:41 enami Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.47 2002/02/12 01:08:12 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.48 2002/02/13 05:20:41 enami Exp $");
#include "opt_nfsserver.h"
@@ -1172,8 +1172,8 @@
else
memset(&pgs[npages - nback], 0,
nback * sizeof(pgs[0]));
+ n -= nback;
}
- n -= nback;
/*
* then plug in our page of interest.
Home |
Main Index |
Thread Index |
Old Index