Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/udf Remove a bogus vrecycle() from udf_inactive(). V...



details:   https://anonhg.NetBSD.org/src/rev/6fd60bc46de2
branches:  trunk
changeset: 790352:6fd60bc46de2
user:      hannken <hannken%NetBSD.org@localhost>
date:      Fri Oct 04 08:35:08 2013 +0000

description:
Remove a bogus vrecycle() from udf_inactive().  Vrecycle() works on inactive
vnodes while VOP_INACTIVE() should never be called on an inactive vnode.

Ok: Reinoud Zandijk <reinoud%netbsd.org@localhost>

diffstat:

 sys/fs/udf/udf_vnops.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 847f46c7bdd2 -r 6fd60bc46de2 sys/fs/udf/udf_vnops.c
--- a/sys/fs/udf/udf_vnops.c    Fri Oct 04 07:51:48 2013 +0000
+++ b/sys/fs/udf/udf_vnops.c    Fri Oct 04 08:35:08 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.85 2013/07/10 15:10:56 reinoud Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.86 2013/10/04 08:35:08 hannken Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.85 2013/07/10 15:10:56 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.86 2013/10/04 08:35:08 hannken Exp $");
 #endif /* not lint */
 
 
@@ -118,7 +118,6 @@
                *ap->a_recycle = true;
                udf_delete_node(udf_node);
                VOP_UNLOCK(vp);
-               vrecycle(vp, NULL, curlwp);
                return 0;
        }
 



Home | Main Index | Thread Index | Old Index