summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-04-02 09:26:51 +0000
committerphk <phk@FreeBSD.org>2000-04-02 09:26:51 +0000
commitbe39d0d9f16800f267e93cc5537b59ccbf8895de (patch)
tree95c34f5eac9fbaf29607b11d62b009baff3acc34 /sys/kern/vfs_bio.c
parent11f5dbf6897a8026bafb56ba3acc49a9389b1d5e (diff)
downloadFreeBSD-src-be39d0d9f16800f267e93cc5537b59ccbf8895de.zip
FreeBSD-src-be39d0d9f16800f267e93cc5537b59ccbf8895de.tar.gz
Draw the outline of "struct bio".
Struct bio is the future carrier of I/O requests for "struct buf".
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 22d0348..3b11402 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -2620,7 +2620,7 @@ void
biodone(register struct buf * bp)
{
int s;
- void (*b_iodone) __P((struct buf *));
+ void (*biodone) __P((struct buf *));
s = splbio();
@@ -2641,9 +2641,9 @@ biodone(register struct buf * bp)
/* call optional completion function if requested */
if (bp->b_iodone != NULL) {
- b_iodone = bp->b_iodone;
+ biodone = bp->b_iodone;
bp->b_iodone = NULL;
- (*b_iodone) (bp);
+ (*biodone) (bp);
splx(s);
return;
}
OpenPOWER on IntegriCloud