Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/nfs Pullup rev 1.76 (requested by yamt in ticket #466)
details: https://anonhg.NetBSD.org/src/rev/7473c7b611c4
branches: netbsd-2-0
changeset: 561355:7473c7b611c4
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Jun 14 04:08:37 2004 +0000
description:
Pullup rev 1.76 (requested by yamt in ticket #466)
nfsrv_zapsock: fix an inverted condition in nfs_syscall.c rev.1.74.
diffstat:
sys/nfs/nfs_syscalls.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8c84bdc6bd81 -r 7473c7b611c4 sys/nfs/nfs_syscalls.c
--- a/sys/nfs/nfs_syscalls.c Mon Jun 14 04:08:03 2004 +0000
+++ b/sys/nfs/nfs_syscalls.c Mon Jun 14 04:08:37 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_syscalls.c,v 1.74 2004/03/17 10:43:35 yamt Exp $ */
+/* $NetBSD: nfs_syscalls.c,v 1.74.2.1 2004/06/14 04:08:37 jmc Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.74 2004/03/17 10:43:35 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.74.2.1 2004/06/14 04:08:37 jmc Exp $");
#include "fs_nfs.h"
#include "opt_nfs.h"
@@ -839,7 +839,7 @@
int s;
simple_lock(&nfsd_slock);
- if ((slp->ns_flag & SLP_VALID) != 0) {
+ if ((slp->ns_flag & SLP_VALID) == 0) {
simple_unlock(&nfsd_slock);
return;
}
Home |
Main Index |
Thread Index |
Old Index