diff options
author | kib <kib@FreeBSD.org> | 2013-03-19 14:43:57 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-03-19 14:43:57 +0000 |
commit | e5332ab95582db8a564780b7e76fea59e30335a1 (patch) | |
tree | e048114eb9989a7f49051ebcc4027da6e0a571e4 /sys/kern/vfs_aio.c | |
parent | 2ace051956132678a2275297973eb6d294b4c8d5 (diff) | |
download | FreeBSD-src-e5332ab95582db8a564780b7e76fea59e30335a1.zip FreeBSD-src-e5332ab95582db8a564780b7e76fea59e30335a1.tar.gz |
Do not remap usermode pages into KVA for physio.
Sponsored by: The FreeBSD Foundation
Tested by: pho
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 cafe440..4facd97 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1323,7 +1323,7 @@ aio_qphysio(struct proc *p, struct aiocblist *aiocbe) /* * Bring buffer into kernel space. */ - if (vmapbuf(bp) < 0) { + if (vmapbuf(bp, 1) < 0) { error = EFAULT; goto doerror; } |