diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-20 08:15:13 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-20 08:15:13 +0000 |
commit | cec957051de38806c33e3e6352cd3ed787597658 (patch) | |
tree | 31252be961e9764a654fbfb26490c5e79722e408 /sys/kern/vfs_aio.c | |
parent | 918817c6ddd20832eb24f834e6594408840cc46b (diff) | |
download | FreeBSD-src-cec957051de38806c33e3e6352cd3ed787597658.zip FreeBSD-src-cec957051de38806c33e3e6352cd3ed787597658.tar.gz |
Back out the previous spl change, since it opens a race window.
Reviewed by: alfred, dillon, peter
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 175b50f..467df8e 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1543,10 +1543,10 @@ aio_suspend(struct proc *p, struct aio_suspend_args *uap) } } } - splx(s); ki->kaio_flags |= KAIO_WAKEUP; error = tsleep(p, PRIBIO | PCATCH, "aiospn", timo); + splx(s); if (error == ERESTART || error == EINTR) { zfree(aiol_zone, ijoblist); |