uiomove_object: hide diagnostic under bootverbose
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D37097
This commit is contained in:
parent
1bcd230f95
commit
7ec4b29b08
@ -225,8 +225,10 @@ uiomove_object_page(vm_object_t obj, size_t len, struct uio *uio)
|
||||
VM_ALLOC_NORMAL | VM_ALLOC_SBUSY | VM_ALLOC_IGN_SBUSY);
|
||||
if (rv != VM_PAGER_OK) {
|
||||
VM_OBJECT_WUNLOCK(obj);
|
||||
printf("uiomove_object: vm_obj %p idx %jd pager error %d\n",
|
||||
obj, idx, rv);
|
||||
if (bootverbose) {
|
||||
printf("uiomove_object: vm_obj %p idx %jd "
|
||||
"pager error %d\n", obj, idx, rv);
|
||||
}
|
||||
return (EIO);
|
||||
}
|
||||
VM_OBJECT_WUNLOCK(obj);
|
||||
|
Loading…
Reference in New Issue
Block a user