rqe->b.b_flags |= B_READ; became

rqe->b.b_iocmd == BIO_READ instead of
rqe->b.b_iocmd = BIO_READ;
fix it.
This commit is contained in:
Alfred Perlstein 2000-03-26 09:20:33 +00:00
parent 191293e031
commit fe3f12377c

View file

@ -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 */
}