diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-12-05 17:16:55 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-12-05 17:16:55 +0000 |
commit | 2d64c95a9aed7f534cd7d2030eefe678d2670960 (patch) | |
tree | 4d51b3afc5cbb87000cdf9b66e1e3ad93f419f2e /sys | |
parent | 261d7b4f9d93dbb279579a2f7f5219ead4444a2a (diff) |
Reinstate supposed dead code
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_vnops.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |