Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373386
b: refs/heads/master
c: 143334f
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed May 2, 2013
1 parent cfbfe47 commit cb8679a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f5db90bcf2c69d099f9d828a8104796f41de6bc5
refs/heads/master: 143334ff446d634fcd3145919b5cddcc9148a74a
4 changes: 2 additions & 2 deletions trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1467,8 +1467,6 @@ static int write_partial_message_data(struct ceph_connection *con)

page = ceph_msg_data_next(&msg->data, &page_offset, &length,
&last_piece);
if (do_datacrc && cursor->need_crc)
crc = ceph_crc32c_page(crc, page, page_offset, length);
ret = ceph_tcp_sendpage(con->sock, page, page_offset,
length, last_piece);
if (ret <= 0) {
Expand All @@ -1477,6 +1475,8 @@ static int write_partial_message_data(struct ceph_connection *con)

return ret;
}
if (do_datacrc && cursor->need_crc)
crc = ceph_crc32c_page(crc, page, page_offset, length);
out_msg_pos_next(con, page, length, (size_t) ret);
}

Expand Down

0 comments on commit cb8679a

Please sign in to comment.