diff options
author | Jens Axboe <axboe@fb.com> | 2014-04-16 22:14:33 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-16 22:15:25 +0200 |
commit | fb1be43301ce045b5e563416e701573464a2ed96 (patch) | |
tree | 989748b2fc10096a0fd705c33890bcfcd662a406 | |
parent | block: relax when to modify the timeout timer (diff) | |
download | linux-fb1be43301ce045b5e563416e701573464a2ed96.tar.xz linux-fb1be43301ce045b5e563416e701573464a2ed96.zip |
jsflash: missed conversion from rq->buffer to bio_data(rq->bio)
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r-- | drivers/sbus/char/jsflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index 4ccb5d869389..a40ee1e37486 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c @@ -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)) |