Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs Remove bogus "mutex_enter(&mntvnode_lock)".



details:   https://anonhg.NetBSD.org/src/rev/2b0709385ed4
branches:  trunk
changeset: 809653:2b0709385ed4
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sun Jul 26 08:33:53 2015 +0000

description:
Remove bogus "mutex_enter(&mntvnode_lock)".

diffstat:

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

diffs (26 lines):

diff -r f9e501e8924d -r 2b0709385ed4 sys/ufs/lfs/ulfs_quota1.c
--- a/sys/ufs/lfs/ulfs_quota1.c Sun Jul 26 08:13:23 2015 +0000
+++ b/sys/ufs/lfs/ulfs_quota1.c Sun Jul 26 08:33:53 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ulfs_quota1.c,v 1.8 2014/05/24 16:34:04 christos Exp $ */
+/*     $NetBSD: ulfs_quota1.c,v 1.9 2015/07/26 08:33:53 hannken Exp $  */
 /*  from NetBSD: ufs_quota1.c,v 1.18 2012/02/02 03:00:48 matt Exp  */
 
 /*
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_quota1.c,v 1.8 2014/05/24 16:34:04 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_quota1.c,v 1.9 2015/07/26 08:33:53 hannken Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -780,7 +780,6 @@
                        mutex_exit(&dq->dq_interlock);
                }
                vput(vp);
-               mutex_enter(&mntvnode_lock);
        }
        vfs_vnode_iterator_destroy(marker);
        return (0);



Home | Main Index | Thread Index | Old Index