mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
Correct the order of the arguments to vm_fault_quick_hold_pages().
This commit is contained in:
parent
0b47b37621
commit
5b2d228c44
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216702
|
@ -115,7 +115,7 @@ socow_setup(struct mbuf *m0, struct uio *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);
|
||||
|
|
Loading…
Reference in a new issue