Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs stop vnode reference leak introduced in patch to...



details:   https://anonhg.NetBSD.org/src/rev/51bf1a44a223
branches:  trunk
changeset: 485990:51bf1a44a223
user:      perseant <perseant%NetBSD.org@localhost>
date:      Wed May 10 16:47:01 2000 +0000

description:
stop vnode reference leak introduced in patch to PR#9994

diffstat:

 sys/ufs/lfs/lfs_segment.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5f2d146b25f6 -r 51bf1a44a223 sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Wed May 10 16:46:41 2000 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Wed May 10 16:47:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_segment.c,v 1.43 2000/05/05 20:59:21 perseant Exp $        */
+/*     $NetBSD: lfs_segment.c,v 1.44 2000/05/10 16:47:01 perseant Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -416,6 +416,7 @@
                                        VTOI(vp)->i_number,
                                        vp->v_lock.lk_lockholder);
 #endif
+                               lfs_vunref(vp);
                                continue;
                        }
                } else {



Home | Main Index | Thread Index | Old Index