From 8b775a07cf0d8ef91018ed7ac8378c921fa9f709 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Mon, 6 Apr 1998 09:00:59 +0000 Subject: Missing wakeup in unmount error case, yet another amiga release staller :-) --- sys/kern/vfs_syscalls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/kern/vfs_syscalls.c') 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); -- cgit v1.2.3