mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
191293e031
commit
fe3f12377c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue