aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-09-11 04:06:48 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-09-11 04:06:48 +0000
commita93a7807b2a9451c6d89d14891d485922c87db3f (patch)
tree337f6dd6ce9c989835f4d24facff334acacb8d32 /sys
parent69ef67f9831e9aecf22657d4a78a1fd99b7eac09 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_aio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 861e7e376239..b50a7d24519f 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -630,6 +630,7 @@ aio_daemon(void *uproc)
struct proc *curcp, *mycp, *userp;
struct vmspace *myvm, *tmpvm;
+ mtx_enter(&Giant, MTX_DEF);
/*
* Local copies of curproc (cp) and vmspace (myvm)
*/