From 3c8d95a2e268e2fd61eb8d028e11e8bc370a6f77 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 23 Dec 1998 10:53:07 +0000 Subject: Opps. the flag that says that we are sleeping is MNT_MWAIT, not MNT_WAIT --- sys/kern/vfs_syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 01c1646c7b3..c5fcc34e82b 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.49 1998/12/21 13:08:49 art Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.50 1998/12/23 10:53:06 art Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -429,7 +429,7 @@ dounmount(mp, flags, p) simple_lock(&mountlist_slock); if (mp->mnt_flag & MNT_UNMOUNT) { simple_unlock(&mountlist_slock); - mp->mnt_flag |= MNT_WAIT; + mp->mnt_flag |= MNT_MWAIT; sleep(mp, PVFS); return ENOENT; } -- cgit v1.2.3