summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-08-08 13:23:05 +0000
committerphk <phk@FreeBSD.org>2004-08-08 13:23:05 +0000
commitdb95f8ec861f9d4d9381e20d36f169c7fc1ada68 (patch)
treee5a1a4d77cd35f98af295bad3d5c41a873a4d3c6 /sys/fs
parent134a515cd2f1d659d9d3342fc97e704c7a9a707b (diff)
downloadFreeBSD-src-db95f8ec861f9d4d9381e20d36f169c7fc1ada68.zip
FreeBSD-src-db95f8ec861f9d4d9381e20d36f169c7fc1ada68.tar.gz
use bufdone() not biodone().
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/specfs/spec_vnops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c
index ec58af6..85f4c48 100644
--- a/sys/fs/specfs/spec_vnops.c
+++ b/sys/fs/specfs/spec_vnops.c
@@ -495,9 +495,9 @@ spec_xstrategy(struct vnode *vp, struct buf *bp)
}
dsw = devsw(bp->b_dev);
if (dsw == NULL) {
- bp->b_io.bio_error = ENXIO;
- bp->b_io.bio_flags |= BIO_ERROR;
- biodone(&bp->b_io);
+ bp->b_error = ENXIO;
+ bp->b_ioflags |= BIO_ERROR;
+ bufdone(bp);
return (0);
}
KASSERT(dsw->d_strategy != NULL,
OpenPOWER on IntegriCloud