Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/coda coda_lock(): LK_INTERLOCK flag no longer possible.
details: https://anonhg.NetBSD.org/src/rev/b2b15119b38d
branches: trunk
changeset: 755829:b2b15119b38d
user: hannken <hannken%NetBSD.org@localhost>
date: Thu Jun 24 10:37:22 2010 +0000
description:
coda_lock(): LK_INTERLOCK flag no longer possible.
diffstat:
sys/coda/coda_vnops.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r d504921f9e3e -r b2b15119b38d sys/coda/coda_vnops.c
--- a/sys/coda/coda_vnops.c Thu Jun 24 10:20:08 2010 +0000
+++ b/sys/coda/coda_vnops.c Thu Jun 24 10:37:22 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: coda_vnops.c,v 1.72 2010/06/24 07:54:46 hannken Exp $ */
+/* $NetBSD: coda_vnops.c,v 1.73 2010/06/24 10:37:22 hannken Exp $ */
/*
*
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.72 2010/06/24 07:54:46 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.73 2010/06/24 10:37:22 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1786,11 +1786,6 @@
coda_f2s(&cp->c_fid)));
}
- if ((flags & LK_INTERLOCK) != 0) {
- mutex_exit(&vp->v_interlock);
- flags &= ~LK_INTERLOCK;
- }
-
return (vlockmgr(&vp->v_lock, flags));
}
Home |
Main Index |
Thread Index |
Old Index