From 7f77e98242a37db173edb2b32e5bd9c225ec28d7 Mon Sep 17 00:00:00 2001 From: cgd Date: Fri, 25 Feb 1994 01:05:32 +0000 Subject: [PATCH] getting closer; stilly iffy though. 4.4's VFS would make this easier --- sys/miscfs/lofs/lofs_vnops.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/miscfs/lofs/lofs_vnops.c b/sys/miscfs/lofs/lofs_vnops.c index b87c1a6ae08e..58a011d2286c 100644 --- a/sys/miscfs/lofs/lofs_vnops.c +++ b/sys/miscfs/lofs/lofs_vnops.c @@ -37,7 +37,7 @@ * From: * Id: lofs_vnops.c,v 4.1 1993/12/17 10:47:45 jsp Rel * - * $Id: lofs_vnops.c,v 1.2 1994/02/14 19:02:54 cgd Exp $ + * $Id: lofs_vnops.c,v 1.3 1994/02/25 01:05:32 cgd Exp $ */ /* @@ -115,8 +115,7 @@ lofs_lookup(dvp, ndp, p) */ error = VOP_LOOKUP(targetdvp, ndp, p); if (error) { - if (flag == CREATE || flag == RENAME || - error != ENOENT || *ndp->ni_next != 0) { + if (flag == CREATE || flag == RENAME || error != ENOENT) { vrele(targetdvp); } else { vrele(ndp->ni_dvp);