From 2d64c95a9aed7f534cd7d2030eefe678d2670960 Mon Sep 17 00:00:00 2001 From: Constantine Sapuntzakis Date: Sat, 5 Dec 1998 17:16:55 +0000 Subject: Reinstate supposed dead code --- sys/kern/vfs_vnops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index c53022d44f1..8b7ff95a94a 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_vnops.c,v 1.18 1998/12/05 16:44:09 csapuntz Exp $ */ +/* $OpenBSD: vfs_vnops.c,v 1.19 1998/12/05 17:16:54 csapuntz Exp $ */ /* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */ /* @@ -463,6 +463,7 @@ vn_lock(vp, flags, p) vp->v_flag |= VXWANT; simple_unlock(&vp->v_interlock); tsleep((caddr_t)vp, PINOD, "vn_lock", 0); + error = ENOENT; } else { error = VOP_LOCK(vp, flags | LK_INTERLOCK | LK_CANRECURSE, p); if (error == 0) -- cgit v1.2.3