jsflash: missed conversion from rq->buffer to bio_data(rq->bio)

Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
Jens Axboe 2014-04-16 14:14:33 -06:00
parent f793aa5378
commit fb1be43301
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ static void jsfd_do_request(struct request_queue *q)
goto end;
}
jsfd_read(req->buffer, jdp->dbase + offset, len);
jsfd_read(bio_data(req->bio), jdp->dbase + offset, len);
err = 0;
end:
if (!__blk_end_request_cur(req, err))