.TH bdone() "" "" "Internal Kernel Routine
.PC "Block I/O completed"
.B "#include <sys/buf.h>"
\fBvoid bdone(\fIbp\^\fB)\fR
\fBBUF *\fIbp\^\fB;\fR
.PP
A driver for a block device built around the internal kernel routines
must call
.B bdone()
when it has completed I/O for the buffer pointed to by
.IR bp .
If an I/O error occurred, the driver must set the
.B BFERR
bit in field \fIbp\^\fB->b_flag\fR before it calls
.BR bdone() .
.SH "See Also"
.B
internal kernel routines
.R
