From eacc9ee5ce89287b54b5bd19a4adc1ab6b0e0940 Mon Sep 17 00:00:00 2001 From: drochner Date: Mon, 25 Aug 2003 09:24:53 +0000 Subject: [PATCH] nuke an over-zealous memset() which broke statfs() et al. completely --- sys/coda/coda_vfsops.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c index e22cb426ae8d..093d17fea33c 100644 --- a/sys/coda/coda_vfsops.c +++ b/sys/coda/coda_vfsops.c @@ -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 -__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 @@ coda_nb_statfs(vfsp, sbp, p) 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