提交 fb1be433 编写于 作者: J Jens Axboe

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

Signed-off-by: NJens Axboe <axboe@fb.com>
上级 f793aa53
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册