diff options
Diffstat (limited to 'drivers/block/rbd.c')
-rw-r--r-- | drivers/block/rbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 13a381b2a779..8e8b876e83c3 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c | |||
@@ -1779,7 +1779,7 @@ static int rbd_img_request_fill_bio(struct rbd_img_request *img_request, | |||
1779 | 1779 | ||
1780 | osd_req_op_extent_init(osd_req, 0, opcode, offset, length, | 1780 | osd_req_op_extent_init(osd_req, 0, opcode, offset, length, |
1781 | 0, 0); | 1781 | 0, 0); |
1782 | osd_req_op_extent_osd_data_bio(osd_req, 0, write_request, | 1782 | osd_req_op_extent_osd_data_bio(osd_req, 0, |
1783 | obj_request->bio_list, obj_request->length); | 1783 | obj_request->bio_list, obj_request->length); |
1784 | rbd_osd_req_format(obj_request, write_request); | 1784 | rbd_osd_req_format(obj_request, write_request); |
1785 | 1785 | ||
@@ -2281,7 +2281,7 @@ static int rbd_obj_read_sync(struct rbd_device *rbd_dev, | |||
2281 | 2281 | ||
2282 | osd_req_op_extent_init(obj_request->osd_req, 0, CEPH_OSD_OP_READ, | 2282 | osd_req_op_extent_init(obj_request->osd_req, 0, CEPH_OSD_OP_READ, |
2283 | offset, length, 0, 0); | 2283 | offset, length, 0, 0); |
2284 | osd_req_op_extent_osd_data_pages(obj_request->osd_req, 0, false, | 2284 | osd_req_op_extent_osd_data_pages(obj_request->osd_req, 0, |
2285 | obj_request->pages, | 2285 | obj_request->pages, |
2286 | obj_request->length, | 2286 | obj_request->length, |
2287 | obj_request->offset & ~PAGE_MASK, | 2287 | obj_request->offset & ~PAGE_MASK, |