From fe3f12377c486f7fefeb1007f1e62d67c5287b32 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Sun, 26 Mar 2000 09:20:33 +0000 Subject: [PATCH] rqe->b.b_flags |= B_READ; became rqe->b.b_iocmd == BIO_READ instead of rqe->b.b_iocmd = BIO_READ; fix it. --- sys/dev/vinum/vinumraid5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/vinum/vinumraid5.c b/sys/dev/vinum/vinumraid5.c index 55968141a9c..bbddff21804 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 */ }