summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-04-06 09:00:59 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-04-06 09:00:59 +0000
commit8b775a07cf0d8ef91018ed7ac8378c921fa9f709 (patch)
tree09d3430abd5b77fe55382299a2cf728810ed0e06 /sys/kern/vfs_syscalls.c
parent7fbb059ed91627d17cec871a170bdc2504e391a8 (diff)
Missing wakeup in unmount error case, yet another amiga release staller :-)
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index cbb7e0136dd..86b52f11e6a 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls.c,v 1.39 1998/03/25 19:44:50 deraadt Exp $ */
+/* $OpenBSD: vfs_syscalls.c,v 1.40 1998/04/06 09:00:58 niklas Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
@@ -443,6 +443,8 @@ dounmount(mp, flags, p)
mp->mnt_flag &= ~MNT_UNMOUNT;
lockmgr(&mp->mnt_lock, LK_RELEASE | LK_INTERLOCK | LK_REENABLE,
&mountlist_slock, p);
+ if (mp->mnt_flag & MNT_MWAIT)
+ wakeup((caddr_t)mp);
return (error);
}
CIRCLEQ_REMOVE(&mountlist, mp, mnt_list);