Source-Changes-HG archive

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

[src/trunk]: src/sys/coda nuke an over-zealous memset() which broke statfs() ...



details:   https://anonhg.NetBSD.org/src/rev/2672240ea76a
branches:  trunk
changeset: 550916:2672240ea76a
user:      drochner <drochner%NetBSD.org@localhost>
date:      Mon Aug 25 09:24:53 2003 +0000

description:
nuke an over-zealous memset() which broke statfs() et al. completely

diffstat:

 sys/coda/coda_vfsops.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r ad6d2fd0bdf2 -r 2672240ea76a sys/coda/coda_vfsops.c
--- a/sys/coda/coda_vfsops.c    Mon Aug 25 09:20:25 2003 +0000
+++ b/sys/coda/coda_vfsops.c    Mon Aug 25 09:24:53 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: coda_vfsops.c,v 1.26 2003/06/29 22:29:10 fvdl Exp $    */
+/*     $NetBSD: coda_vfsops.c,v 1.27 2003/08/25 09:24:53 drochner Exp $        */
 
 /*
  * 
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coda_vfsops.c,v 1.26 2003/06/29 22:29:10 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coda_vfsops.c,v 1.27 2003/08/25 09:24:53 drochner Exp $");
 
 #ifdef _LKM
 #define        NVCODA 4
@@ -436,7 +436,6 @@
        return(EINVAL);
     }
     
-    memset(sbp, 0, sizeof(struct statfs));
     /* XXX - what to do about f_flags, others? --bnoble */
     /* Below This is what AFS does
        #define NB_SFS_SIZ 0x895440



Home | Main Index | Thread Index | Old Index