Source-Changes-HG archive

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

[src/trunk]: src/sys/nfs SHUT_RDWR rather than bare 2.



details:   https://anonhg.NetBSD.org/src/rev/7a5869fdabeb
branches:  trunk
changeset: 559417:7a5869fdabeb
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Mar 17 10:37:02 2004 +0000

description:
SHUT_RDWR rather than bare 2.

diffstat:

 sys/nfs/nfs_syscalls.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9eb624dbc3b9 -r 7a5869fdabeb sys/nfs/nfs_syscalls.c
--- a/sys/nfs/nfs_syscalls.c    Wed Mar 17 10:30:18 2004 +0000
+++ b/sys/nfs/nfs_syscalls.c    Wed Mar 17 10:37:02 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_syscalls.c,v 1.71 2003/12/07 18:58:11 thorpej Exp $        */
+/*     $NetBSD: nfs_syscalls.c,v 1.72 2004/03/17 10:37:02 yamt Exp $   */
 
 /*
  * Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.71 2003/12/07 18:58:11 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.72 2004/03/17 10:37:02 yamt Exp $");
 
 #include "fs_nfs.h"
 #include "opt_nfs.h"
@@ -846,7 +846,7 @@
                so->so_upcall = NULL;
                so->so_upcallarg = NULL;
                so->so_rcv.sb_flags &= ~SB_UPCALL;
-               soshutdown(so, 2);
+               soshutdown(so, SHUT_RDWR);
                closef(fp, (struct proc *)0);
                if (slp->ns_nam)
                        m_free(slp->ns_nam);



Home | Main Index | Thread Index | Old Index