Commit dedc81ea authored by Alex Elder's avatar Alex Elder Committed by Sage Weil

rbd: drop obj_request->version

Nothing ever uses the version field maintained in the object request
structure any more, so get rid of it.
Signed-off-by: default avatarAlex Elder <elder@inktank.com>
Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
parent e2a58ee5
...@@ -225,7 +225,6 @@ struct rbd_obj_request { ...@@ -225,7 +225,6 @@ struct rbd_obj_request {
struct ceph_osd_request *osd_req; struct ceph_osd_request *osd_req;
u64 xferred; /* bytes transferred */ u64 xferred; /* bytes transferred */
u64 version;
int result; int result;
rbd_obj_callback_t callback; rbd_obj_callback_t callback;
...@@ -1486,7 +1485,6 @@ static void rbd_osd_req_callback(struct ceph_osd_request *osd_req, ...@@ -1486,7 +1485,6 @@ static void rbd_osd_req_callback(struct ceph_osd_request *osd_req,
if (osd_req->r_result < 0) if (osd_req->r_result < 0)
obj_request->result = osd_req->r_result; obj_request->result = osd_req->r_result;
obj_request->version = le64_to_cpu(osd_req->r_reassert_version.version);
BUG_ON(osd_req->r_num_ops > 2); BUG_ON(osd_req->r_num_ops > 2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment