HomeFreeBSD

aio_qphysio(): Avoid uninitialized pointer read on error.

Description

aio_qphysio(): Avoid uninitialized pointer read on error.

For the !unmap case it may happen that pbuf gets called unreferenced
when vm_fault_quick_hold_pages() fails.
Initialize it so it doesn't cause trouble.

CID: 1352776
Reviewed by: jhb
MFC after: 1 week

Details

Provenance
pfgAuthored on
Reviewer
jhb
Parents
rS297036: MFC r296707:
Branches
Unknown
Tags
Unknown