Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359586
b: refs/heads/master
c: 7c3d22c
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder committed Jan 17, 2013
1 parent 182234e commit fc2f475
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 25704ac9de30ac3e73c123e7b2734f7ca744c8d8
refs/heads/master: 7c3d22cf16f1bbcb37a73e88338c042bb49ff112
4 changes: 0 additions & 4 deletions trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,6 @@ static int rbd_do_request(struct request *rq,
u64 bno;
struct timespec mtime = CURRENT_TIME;
struct rbd_request *rbd_req;
struct ceph_osd_request_head *reqhead;
struct ceph_osd_client *osdc;

rbd_req = kzalloc(sizeof(*rbd_req), GFP_NOIO);
Expand Down Expand Up @@ -1165,9 +1164,6 @@ static int rbd_do_request(struct request *rq,

osd_req->r_priv = rbd_req;

reqhead = osd_req->r_request->front.iov_base;
reqhead->snapid = cpu_to_le64(CEPH_NOSNAP);

strncpy(osd_req->r_oid, object_name, sizeof(osd_req->r_oid));
osd_req->r_oid_len = strlen(osd_req->r_oid);

Expand Down

0 comments on commit fc2f475

Please sign in to comment.