Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373435
b: refs/heads/master
c: c851c49
h: refs/heads/master
i:
  373433: 0aa2002
  373431: 519a7af
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed May 2, 2013
1 parent 82c8a7e commit 2786f36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: f759ebb968dbf185fc079dd2e824b1aa3a3d71aa
refs/heads/master: c851c49591ebf000c610711e39eea7da5ff05b21
5 changes: 4 additions & 1 deletion trunk/include/linux/ceph/messenger.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ struct ceph_msg_data {
enum ceph_msg_data_type type;
union {
#ifdef CONFIG_BLOCK
struct bio *bio;
struct {
struct bio *bio;
size_t bio_length;
};
#endif /* CONFIG_BLOCK */
struct {
struct page **pages; /* NOT OWNER. */
Expand Down
1 change: 1 addition & 0 deletions trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -3032,6 +3032,7 @@ void ceph_msg_data_set_bio(struct ceph_msg *msg, struct bio *bio,
data = ceph_msg_data_create(CEPH_MSG_DATA_BIO);
BUG_ON(!data);
data->bio = bio;
data->bio_length = length;

msg->data = data;
msg->data_length = length;
Expand Down

0 comments on commit 2786f36

Please sign in to comment.