HomeFreeBSD

Create an API to reset a struct bio (g_reset_bio). This is mandatory

Description

Create an API to reset a struct bio (g_reset_bio). This is mandatory
for all struct bio you get back from g_{new,alloc}_bio. Temporary
bios that you create on the stack or elsewhere should use this before
first use of the bio, and between uses of the bio. At the moment, it
is nothing more than a wrapper around bzero, but that may change in
the future. The wrapper also removes one place where we encode the
size of struct bio in the KBI.

Details

Provenance
impAuthored on
Parents
rS295706: Project branch to document what I've done to get a mips64 buildworld via
Branches
Unknown
Tags
Unknown