Module Name: src Committed By: hannken Date: Thu Jun 24 10:37:22 UTC 2010
Modified Files: src/sys/coda: coda_vnops.c Log Message: coda_lock(): LK_INTERLOCK flag no longer possible. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/coda/coda_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/coda/coda_vnops.c diff -u src/sys/coda/coda_vnops.c:1.72 src/sys/coda/coda_vnops.c:1.73 --- src/sys/coda/coda_vnops.c:1.72 Thu Jun 24 07:54:46 2010 +++ src/sys/coda/coda_vnops.c Thu Jun 24 10:37:22 2010 @@ -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)); }