Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs Remove wrong assertion in previous commit.



details:   https://anonhg.NetBSD.org/src/rev/acf0f1d060bc
branches:  trunk
changeset: 526565:acf0f1d060bc
user:      enami <enami%NetBSD.org@localhost>
date:      Mon May 06 03:20:54 2002 +0000

description:
Remove wrong assertion in previous commit.

diffstat:

 sys/nfs/nfs_bio.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 39267e2e194d -r acf0f1d060bc sys/nfs/nfs_bio.c
--- a/sys/nfs/nfs_bio.c Mon May 06 03:17:43 2002 +0000
+++ b/sys/nfs/nfs_bio.c Mon May 06 03:20:54 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_bio.c,v 1.80 2002/05/06 00:07:51 enami Exp $       */
+/*     $NetBSD: nfs_bio.c,v 1.81 2002/05/06 03:20:54 enami Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_bio.c,v 1.80 2002/05/06 00:07:51 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_bio.c,v 1.81 2002/05/06 03:20:54 enami Exp $");
 
 #include "opt_nfs.h"
 #include "opt_ddb.h"
@@ -1133,8 +1133,7 @@
         */
 
        pgs = ap->a_m;
-       if (locked && v3) {
-               KASSERT(write);
+       if (write && locked && v3) {
                KASSERT(pgs != NULL);
 #ifdef DEBUG
 



Home | Main Index | Thread Index | Old Index