Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188740
b: refs/heads/master
c: 6f863e7
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed Mar 1, 2010
1 parent f2cffbc commit 58265a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ca02ef96e119d36bc1752baeae7dd0c59c2f325
refs/heads/master: 6f863e712d4114e8ae2f02de64ebeac0546ebaa0
3 changes: 3 additions & 0 deletions trunk/fs/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *osdc,
}

BUG_ON(p > msg->front.iov_base + msg->front.iov_len);
msg_size = p - msg->front.iov_base;
msg->front.iov_len = msg_size;
msg->hdr.front_len = cpu_to_le32(msg_size);
return req;
}

Expand Down

0 comments on commit 58265a3

Please sign in to comment.