diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-02 15:24:56 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-04-02 15:24:56 +0000 |
| commit | c244d2de435ed1913d6a7da017b205bffb44b36d (patch) | |
| tree | 46bc33c5a3d3f0f652e9af40acac38ed8c4492c6 /sys/dev/mlx | |
| parent | 4c9805fafa5fb041fa369df26cd26fee579223fe (diff) | |
Notes
Diffstat (limited to 'sys/dev/mlx')
| -rw-r--r-- | sys/dev/mlx/mlx.c | 2 | ||||
| -rw-r--r-- | sys/dev/mlx/mlx_disk.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c index 94e2863afb58..7ec3da423c37 100644 --- a/sys/dev/mlx/mlx.c +++ b/sys/dev/mlx/mlx.c @@ -1722,7 +1722,7 @@ mlx_completeio(struct mlx_command *mc) if (mc->mc_status != MLX_STATUS_OK) { /* could be more verbose here? */ bp->b_error = EIO; - bp->b_flags |= B_ERROR; + bp->b_ioflags |= BIO_ERROR; switch(mc->mc_status) { case MLX_STATUS_RDWROFFLINE: /* system drive has gone offline */ diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c index 1dcf93bfbe3e..22328bafa021 100644 --- a/sys/dev/mlx/mlx_disk.c +++ b/sys/dev/mlx/mlx_disk.c @@ -193,7 +193,7 @@ mlxd_strategy(struct buf *bp) return; bad: - bp->b_flags |= B_ERROR; + bp->b_ioflags |= BIO_ERROR; done: /* @@ -212,7 +212,7 @@ mlxd_intr(void *data) debug_called(1); - if (bp->b_flags & B_ERROR) + if (bp->b_ioflags & BIO_ERROR) bp->b_error = EIO; else bp->b_resid = 0; |
