diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-12-23 10:53:07 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-12-23 10:53:07 +0000 |
commit | 3c8d95a2e268e2fd61eb8d028e11e8bc370a6f77 (patch) | |
tree | f865bb834e6a54762e798e84a79ac0832afb33a8 /sys/kern | |
parent | a60fc8c4dfa2c054627aa079b95d4f6719f86627 (diff) |
Opps. the flag that says that we are sleeping is MNT_MWAIT, not MNT_WAIT
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |