summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-04-30 08:21:53 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-04-30 08:21:53 +0000
commitc831fb3b8fb56d308cd566b4b699525a21758c2b (patch)
treeece391594eb0407bfdb14c3c7253e79e824db597
parenta7fbe85bb5cbc9f753ca123b0f6c1f64ebe7380d (diff)
in vput, simple_unlock the v_interlock before VOP_INACTIVE, not after
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index dbb9721598a..05317f457ad 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.36 1999/03/11 19:47:25 deraadt Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.37 1999/04/30 08:21:52 art Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -779,9 +779,9 @@ vput(vp)
#endif
vputonfreelist(vp);
- VOP_INACTIVE(vp, p);
-
simple_unlock(&vp->v_interlock);
+
+ VOP_INACTIVE(vp, p);
}
/*