summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-08-08 01:28:34 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-08-08 01:28:34 +0000
commit752d0dd9cfa2459db0d4a91ed586e32d1ebfea96 (patch)
treea43fcd4ec9404f0c2532c00e4c3bca28e2c37d1e
parent2d1aea3355b8b7844c7205013513a5506d2f62ca (diff)
do not unlock vnode before calling vput. should fix ray's panic.
ok deraadt krw
-rw-r--r--sys/ntfs/ntfs_vfsops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c
index f5b783d2414..ee40a3db9f8 100644
--- a/sys/ntfs/ntfs_vfsops.c
+++ b/sys/ntfs/ntfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vfsops.c,v 1.17 2010/07/03 00:12:31 krw Exp $ */
+/* $OpenBSD: ntfs_vfsops.c,v 1.18 2010/08/08 01:28:33 tedu Exp $ */
/* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
/*-
@@ -569,7 +569,6 @@ ntfs_unmount(
error = VOP_CLOSE(ntmp->ntm_devvp, ronly ? FREAD : FREAD|FWRITE,
NOCRED, p);
- VOP__UNLOCK(ntmp->ntm_devvp, 0, p);
vput(ntmp->ntm_devvp);