diff options
author | jhb <jhb@FreeBSD.org> | 2000-09-11 04:06:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-09-11 04:06:48 +0000 |
commit | bd6b65a7573b93de5b2792b4d244a3e6db9a1ee3 (patch) | |
tree | e3926f4ea84f37387d5b4240fdca1999258638e1 /sys/kern/vfs_aio.c | |
parent | 1c1433e6c3d7aa77a41d5bb1de86df30e92f9ef8 (diff) | |
download | FreeBSD-src-bd6b65a7573b93de5b2792b4d244a3e6db9a1ee3.zip FreeBSD-src-bd6b65a7573b93de5b2792b4d244a3e6db9a1ee3.tar.gz |
aio processes need to have the Giant mutex before doing work.
Submitted by: tegge
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 861e7e3..b50a7d2 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) */ |