diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1997-12-27 04:49:15 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1997-12-27 04:49:15 +0000 |
commit | ab0c2c5bb2c3745bd5ae5141ed818d8b834d3366 (patch) | |
tree | eec2ab9601c3d59666687a5e064c1329e40c0622 /sys/miscfs | |
parent | 17c0d9ecaf8e801c77228c28409b90c7de428294 (diff) |
Fixed null_inactie so it odes the right thing.
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/nullfs/null_vnops.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c index f12f7389d25..c0a396850c1 100644 --- a/sys/miscfs/nullfs/null_vnops.c +++ b/sys/miscfs/nullfs/null_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: null_vnops.c,v 1.8 1997/11/06 05:58:40 csapuntz Exp $ */ +/* $OpenBSD: null_vnops.c,v 1.9 1997/12/27 04:49:14 csapuntz Exp $ */ /* $NetBSD: null_vnops.c,v 1.7 1996/05/10 22:51:01 jtk Exp $ */ /* @@ -382,6 +382,8 @@ int null_inactive(v) void *v; { + struct vop_inactive_args *ap = v; + /* * Do nothing (and _don't_ bypass). * Wait to vrele lowervp until reclaim, @@ -394,6 +396,8 @@ null_inactive(v) * like they do in the name lookup cache code. * That's too much work for now. */ + VOP_UNLOCK(ap->a_vp, 0, ap->a_p); + return (0); } |