bio_reset
Prev | Other Functions | Next

## Name

bio_reset — reinitialize a bio

## Synopsis

`void bio_reset (` | struct bio * bio`)`;

## Arguments

`bio`

  bio to reset

## 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.

Prev | Up | Next
bh_submit_read | Home | bio_alloc_bioset