Module Name:    src
Committed By:   hannken
Date:           Tue Jan  6 11:24:46 UTC 2015

Modified Files:
        src/sys/coda: coda_subr.c

Log Message:
Add missing vrele() and vfs_vnode_iterator_destroy() to coda_cacheprint().


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/coda/coda_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/coda/coda_subr.c
diff -u src/sys/coda/coda_subr.c:1.30 src/sys/coda/coda_subr.c:1.31
--- src/sys/coda/coda_subr.c:1.30	Sat Dec 13 15:59:30 2014
+++ src/sys/coda/coda_subr.c	Tue Jan  6 11:24:46 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: coda_subr.c,v 1.30 2014/12/13 15:59:30 hannken Exp $	*/
+/*	$NetBSD: coda_subr.c,v 1.31 2015/01/06 11:24:46 hannken Exp $	*/
 
 /*
  *
@@ -55,7 +55,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coda_subr.c,v 1.30 2014/12/13 15:59:30 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coda_subr.c,v 1.31 2015/01/06 11:24:46 hannken Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -297,8 +297,10 @@ coda_cacheprint(struct mount *whoIam)
 		coda_nc_name(VTOC(vp));
 		printf("\n");
 		count++;
+		vrele(vp);
 	}
 	printf("coda_cacheprint: count %d\n", count);
+	vfs_vnode_iterator_destroy(marker);
 }
 #endif
 

Reply via email to