Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs genfs_nolock(): LK_INTERLOCK flag no longer...
details: https://anonhg.NetBSD.org/src/rev/8c39bbbd6027
branches: trunk
changeset: 755830:8c39bbbd6027
user: hannken <hannken%NetBSD.org@localhost>
date: Thu Jun 24 10:39:35 2010 +0000
description:
genfs_nolock(): LK_INTERLOCK flag no longer possible.
diffstat:
sys/miscfs/genfs/genfs_vnops.c | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diffs (37 lines):
diff -r b2b15119b38d -r 8c39bbbd6027 sys/miscfs/genfs/genfs_vnops.c
--- a/sys/miscfs/genfs/genfs_vnops.c Thu Jun 24 10:37:22 2010 +0000
+++ b/sys/miscfs/genfs/genfs_vnops.c Thu Jun 24 10:39:35 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_vnops.c,v 1.179 2010/06/24 07:54:47 hannken Exp $ */
+/* $NetBSD: genfs_vnops.c,v 1.180 2010/06/24 10:39:35 hannken Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.179 2010/06/24 07:54:47 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.180 2010/06/24 10:39:35 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -329,18 +329,7 @@
int
genfs_nolock(void *v)
{
- struct vop_lock_args /* {
- struct vnode *a_vp;
- int a_flags;
- struct lwp *a_l;
- } */ *ap = v;
- /*
- * Since we are not using the lock manager, we must clear
- * the interlock here.
- */
- if (ap->a_flags & LK_INTERLOCK)
- mutex_exit(&ap->a_vp->v_interlock);
return (0);
}
Home |
Main Index |
Thread Index |
Old Index