HomeFreeBSD

aio: handle errors from fork

Description

aio: handle errors from fork

Do not try to fork forever if fork() failed. Propagate the error up.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Fri, Jul 4, 6:30 PM
Parents
rGc44439942cdb: aio: make aio_init_aioinfo() and aio_aqueue() static
Branches
Unknown
Tags
Unknown