commit | 45711f1af6eff1a6d010703b4862e0d2b9afd056 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 21:19:53 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 21:19:53 2007 +0200 |
tree | 3d0048f46e3df9d217d56127462ebe680348bd5a | |
parent | 78c2f0b8c285c5305b3e67b0595200541e15eb43 [diff] [blame] |
[SG] Update drivers to use sg helpers Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 25b248a..3a8cd3d 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c
@@ -1115,7 +1115,7 @@ } prepare_request(req, io_req, (unsigned long long) req->sector << 9, - sg->offset, sg->length, sg->page); + sg->offset, sg->length, sg_page(sg)); last_sectors = sg->length >> 9; n = os_write_file(thread_fd, &io_req,