1BIO_ENDIO(9)                     The Linux VFS                    BIO_ENDIO(9)
2
3
4

NAME

6       bio_endio - end I/O on a bio
7

SYNOPSIS

9       void bio_endio(struct bio * bio, int error);
10

ARGUMENTS

12       bio
13           bio
14
15       error
16           error, if any
17

DESCRIPTION

19       bio_endio will end I/O on the whole bio.  bio_endio is the preferred
20       way to end I/O on a bio, it takes care of clearing BIO_UPTODATE on
21       error.  error is 0 on success, and and one of the established -Exxxx
22       (-EIO, for instance) error values in case something went wrong. No one
23       should call bi_end_io directly on a bio unless they own it and thus
24       know that it has an end_io function.
25
27Kernel Hackers Manual 3.10         June 2019                      BIO_ENDIO(9)
Impressum