svn commit: r216702 - head/sys/kern
Alan Cox
alc at FreeBSD.org
Sun Dec 26 01:42:52 UTC 2010
Author: alc
Date: Sun Dec 26 01:42:52 2010
New Revision: 216702
URL: http://svn.freebsd.org/changeset/base/216702
Log:
Correct the order of the arguments to vm_fault_quick_hold_pages().
Modified:
head/sys/kern/uipc_cow.c
Modified: head/sys/kern/uipc_cow.c
==============================================================================
--- head/sys/kern/uipc_cow.c Sat Dec 25 23:54:50 2010 (r216701)
+++ head/sys/kern/uipc_cow.c Sun Dec 26 01:42:52 2010 (r216702)
@@ -115,7 +115,7 @@ socow_setup(struct mbuf *m0, struct uio
/*
* Verify that access to the given address is allowed from user-space.
*/
- if (vm_fault_quick_hold_pages(map, uva, len, &pp, 1, VM_PROT_READ) <
+ if (vm_fault_quick_hold_pages(map, uva, len, VM_PROT_READ, &pp, 1) <
0) {
socow_stats.fail_not_mapped++;
return(0);
More information about the svn-src-all
mailing list