Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs set b_resid correctly.
details: https://anonhg.NetBSD.org/src/rev/05a2821c02c8
branches: trunk
changeset: 545637:05a2821c02c8
user: yamt <yamt%NetBSD.org@localhost>
date: Sat Apr 12 14:38:57 2003 +0000
description:
set b_resid correctly.
diffstat:
sys/nfs/nfs_bio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b36be5780393 -r 05a2821c02c8 sys/nfs/nfs_bio.c
--- a/sys/nfs/nfs_bio.c Sat Apr 12 14:36:43 2003 +0000
+++ b/sys/nfs/nfs_bio.c Sat Apr 12 14:38:57 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_bio.c,v 1.91 2003/04/12 14:26:58 yamt Exp $ */
+/* $NetBSD: nfs_bio.c,v 1.92 2003/04/12 14:38:57 yamt Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_bio.c,v 1.91 2003/04/12 14:26:58 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_bio.c,v 1.92 2003/04/12 14:38:57 yamt Exp $");
#include "opt_nfs.h"
#include "opt_ddb.h"
@@ -1036,7 +1036,7 @@
}
lockmgr(&np->n_commitlock, LK_RELEASE, NULL);
if (!error) {
- bp->b_resid = 0;
+ uio->uio_resid = 0;
simple_lock(&uobj->vmobjlock);
for (i = 0; i < npages; i++) {
pgs[i]->flags &= ~(PG_NEEDCOMMIT | PG_RDONLY);
Home |
Main Index |
Thread Index |
Old Index