Remove an unnecessary trunc_page() from vmapbuf().

Reviewed by:	tegge
This commit is contained in:
Alan Cox 2003-04-06 00:40:54 +00:00
parent 467295e056
commit 0b556837a9

View File

@ -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;