summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2000-03-26 09:20:33 +0000
committeralfred <alfred@FreeBSD.org>2000-03-26 09:20:33 +0000
commit48a45c9a17d58275652f4d2ceba73230454c1995 (patch)
tree2149f6df5f73e52a1bf5d526005842018e517c5f /sys
parent375cbf5596e8d045c44dc76a28d1d6134684586b (diff)
downloadFreeBSD-src-48a45c9a17d58275652f4d2ceba73230454c1995.zip
FreeBSD-src-48a45c9a17d58275652f4d2ceba73230454c1995.tar.gz
rqe->b.b_flags |= B_READ; became
rqe->b.b_iocmd == BIO_READ instead of rqe->b.b_iocmd = BIO_READ; fix it.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vinum/vinumraid5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumraid5.c b/sys/dev/vinum/vinumraid5.c
index 5596814..bbddff2 100644
--- a/sys/dev/vinum/vinumraid5.c
+++ b/sys/dev/vinum/vinumraid5.c
@@ -493,7 +493,7 @@ bre5(struct request *rq,
rqe->driveno = sd->driveno;
if (build_rq_buffer(rqe, plex)) /* build the buffer */
return REQUEST_ENOMEM; /* can't do it */
- rqe->b.b_iocmd == BIO_READ; /* we must read first */
+ rqe->b.b_iocmd = BIO_READ; /* we must read first */
m.sdcount++; /* adjust the subdisk count */
rqno++; /* and point to the next request */
}
OpenPOWER on IntegriCloud