Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373389
b: refs/heads/master
c: 1190bf0
h: refs/heads/master
i:
  373387: 9777975
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed May 2, 2013
1 parent 10aa413 commit aeb51d2
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: 6644ed7b7e04f8e588aebdaa58cededb9416ab95
refs/heads/master: 1190bf06a6b033384a65b5acdb1193d41cd257a6
4 changes: 2 additions & 2 deletions trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ static void ceph_msg_data_pages_cursor_init(struct ceph_msg_data *data,

BUG_ON(!data->pages);
BUG_ON(!data->length);
BUG_ON(length != data->length);
BUG_ON(length > data->length); /* short reads are OK */

cursor->resid = length;
page_count = calc_pages_for(data->alignment, (u64)data->length);
Expand Down Expand Up @@ -905,7 +905,7 @@ static void ceph_msg_data_pagelist_cursor_init(struct ceph_msg_data *data,

pagelist = data->pagelist;
BUG_ON(!pagelist);
BUG_ON(length != pagelist->length);
BUG_ON(length > pagelist->length); /* short reads are OK */

if (!length)
return; /* pagelist can be assigned but empty */
Expand Down

0 comments on commit aeb51d2

Please sign in to comment.