libceph: introduce ceph_osd_request_target, calc_target()
[linux-2.6-microblaze.git] / fs / ceph / file.c
index 9d47039..36b4a41 100644 (file)
@@ -714,7 +714,7 @@ static void ceph_aio_retry_work(struct work_struct *work)
        req->r_flags =  CEPH_OSD_FLAG_ORDERSNAP |
                        CEPH_OSD_FLAG_ONDISK |
                        CEPH_OSD_FLAG_WRITE;
-       req->r_base_oloc = orig_req->r_base_oloc;
+       ceph_oloc_copy(&req->r_base_oloc, &orig_req->r_base_oloc);
        ceph_oid_copy(&req->r_base_oid, &orig_req->r_base_oid);
 
        ret = ceph_osdc_alloc_messages(req, GFP_NOFS);