diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-01-27 10:40:20 -0500 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-01-27 16:57:49 -0500 |
commit | 3c972c95c68f455d80ff185aa440857be046bbe0 (patch) | |
tree | 9389951dec0bcc03c2da0f0f3fb966e16438b430 /drivers/block/rbd.c | |
parent | 17a13e4028e6ad7ded079cf32370c47bd0e0fc07 (diff) |
libceph: rename ceph_osd_request::r_{oloc,oid} to r_base_{oloc,oid}
Rename ceph_osd_request::r_{oloc,oid} to r_base_{oloc,oid} before
introducing r_target_{oloc,oid} needed for redirects.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'drivers/block/rbd.c')
-rw-r--r-- | drivers/block/rbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 6fdc5fc00447..16cab6635163 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c | |||
@@ -1808,8 +1808,8 @@ static struct ceph_osd_request *rbd_osd_req_create( | |||
1808 | osd_req->r_callback = rbd_osd_req_callback; | 1808 | osd_req->r_callback = rbd_osd_req_callback; |
1809 | osd_req->r_priv = obj_request; | 1809 | osd_req->r_priv = obj_request; |
1810 | 1810 | ||
1811 | osd_req->r_oloc.pool = ceph_file_layout_pg_pool(rbd_dev->layout); | 1811 | osd_req->r_base_oloc.pool = ceph_file_layout_pg_pool(rbd_dev->layout); |
1812 | ceph_oid_set_name(&osd_req->r_oid, obj_request->object_name); | 1812 | ceph_oid_set_name(&osd_req->r_base_oid, obj_request->object_name); |
1813 | 1813 | ||
1814 | return osd_req; | 1814 | return osd_req; |
1815 | } | 1815 | } |
@@ -1846,8 +1846,8 @@ rbd_osd_req_create_copyup(struct rbd_obj_request *obj_request) | |||
1846 | osd_req->r_callback = rbd_osd_req_callback; | 1846 | osd_req->r_callback = rbd_osd_req_callback; |
1847 | osd_req->r_priv = obj_request; | 1847 | osd_req->r_priv = obj_request; |
1848 | 1848 | ||
1849 | osd_req->r_oloc.pool = ceph_file_layout_pg_pool(rbd_dev->layout); | 1849 | osd_req->r_base_oloc.pool = ceph_file_layout_pg_pool(rbd_dev->layout); |
1850 | ceph_oid_set_name(&osd_req->r_oid, obj_request->object_name); | 1850 | ceph_oid_set_name(&osd_req->r_base_oid, obj_request->object_name); |
1851 | 1851 | ||
1852 | return osd_req; | 1852 | return osd_req; |
1853 | } | 1853 | } |