coda_lock(): LK_INTERLOCK flag no longer possible.

This commit is contained in:
hannken 2010-06-24 10:37:22 +00:00
parent 038180ae32
commit d06039d236

View File

@ -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_lock(void *v)
coda_f2s(&cp->c_fid)));
}
if ((flags & LK_INTERLOCK) != 0) {
mutex_exit(&vp->v_interlock);
flags &= ~LK_INTERLOCK;
}
return (vlockmgr(&vp->v_lock, flags));
}