jsflash: missed conversion from rq->buffer to bio_data(rq->bio)
Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
f793aa5378
commit
fb1be43301
|
@ -207,7 +207,7 @@ static void jsfd_do_request(struct request_queue *q)
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
jsfd_read(req->buffer, jdp->dbase + offset, len);
|
jsfd_read(bio_data(req->bio), jdp->dbase + offset, len);
|
||||||
err = 0;
|
err = 0;
|
||||||
end:
|
end:
|
||||||
if (!__blk_end_request_cur(req, err))
|
if (!__blk_end_request_cur(req, err))
|
||||||
|
|
Loading…
Reference in New Issue