Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373429
b: refs/heads/master
c: 39b44cb
h: refs/heads/master
i:
  373427: d242c94
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed May 2, 2013
1 parent 2dc56d6 commit e1396dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: e65550fd94c5c01b438e24fbf4a29ba65709ec97
refs/heads/master: 39b44cbe86db42e70693787b2ede81c309925d0b
10 changes: 5 additions & 5 deletions trunk/net/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1884,6 +1884,11 @@ void ceph_osdc_build_request(struct ceph_osd_request *req, u64 off,
u64 data_len;
unsigned int i;

/* Set up response incoming data and request outgoing data fields */

ceph_osdc_msg_data_set(req->r_reply, &req->r_data_in);
ceph_osdc_msg_data_set(req->r_request, &req->r_data_out);

req->r_snapid = snap_id;
req->r_snapc = ceph_get_snap_context(snapc);

Expand Down Expand Up @@ -1976,11 +1981,6 @@ int ceph_osdc_start_request(struct ceph_osd_client *osdc,
{
int rc = 0;

/* Set up response incoming data and request outgoing data fields */

ceph_osdc_msg_data_set(req->r_reply, &req->r_data_in);
ceph_osdc_msg_data_set(req->r_request, &req->r_data_out);

down_read(&osdc->map_sem);
mutex_lock(&osdc->request_mutex);
__register_request(osdc, req);
Expand Down

0 comments on commit e1396dc

Please sign in to comment.