1. NAME

bio_reset - reinitialize a bio

2. SYNOPSIS

void bio_reset(struct bio *  bio );

3. ARGUMENTS

bio
    bio to reset

4. DESCRIPTION

After calling bio_reset, bio will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset. See comment in struct bio.

5. COPYRIGHT