Remove an unnecessary trunc_page() from vmapbuf().
Reviewed by: tegge
This commit is contained in:
parent
467295e056
commit
0b556837a9
@ -3644,7 +3644,7 @@ retry:
|
||||
vm_page_unlock_queues();
|
||||
return(-1);
|
||||
}
|
||||
pa = trunc_page(pmap_extract(pmap, (vm_offset_t) addr));
|
||||
pa = pmap_extract(pmap, (vm_offset_t)addr);
|
||||
if (pa == 0) {
|
||||
printf("vmapbuf: warning, race against user address during I/O");
|
||||
goto retry;
|
||||
|
Loading…
x
Reference in New Issue
Block a user