Source-Changes-HG archive

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

[src/trunk]: src/sys/coda Add missing vrele() and vfs_vnode_iterator_destroy(...



details:   https://anonhg.NetBSD.org/src/rev/b5596d4415c9
branches:  trunk
changeset: 335424:b5596d4415c9
user:      hannken <hannken%NetBSD.org@localhost>
date:      Tue Jan 06 11:24:46 2015 +0000

description:
Add missing vrele() and vfs_vnode_iterator_destroy() to coda_cacheprint().

diffstat:

 sys/coda/coda_subr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 479d6dddcb0b -r b5596d4415c9 sys/coda/coda_subr.c
--- a/sys/coda/coda_subr.c      Tue Jan 06 11:22:09 2015 +0000
+++ b/sys/coda/coda_subr.c      Tue Jan 06 11:24:46 2015 +0000
@@ -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_nc_name(VTOC(vp));
                printf("\n");
                count++;
+               vrele(vp);
        }
        printf("coda_cacheprint: count %d\n", count);
+       vfs_vnode_iterator_destroy(marker);
 }
 #endif
 



Home | Main Index | Thread Index | Old Index