diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-08-08 13:23:05 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-08-08 13:23:05 +0000 |
| commit | 7ac439fec47193d630975ef3b255f850d4be978c (patch) | |
| tree | e5a1a4d77cd35f98af295bad3d5c41a873a4d3c6 /sys/fs | |
| parent | a8687125e5b85cd874af7b0ed948e8206cccef04 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/specfs/spec_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index ec58af649ac8b..85f4c4882dbb9 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, |
