diff options
author | Alex Elder <[email protected]> | 2013-03-30 13:31:02 -0500 |
---|---|---|
committer | Sage Weil <[email protected]> | 2013-05-01 21:17:38 -0700 |
commit | 1190bf06a6b033384a65b5acdb1193d41cd257a6 (patch) | |
tree | dd954da4bce3965e9255218b1908b0a9789d3cb2 /lib/mpi/mpi-bit.c | |
parent | 6644ed7b7e04f8e588aebdaa58cededb9416ab95 (diff) |
libceph: fix broken data length assertions
It's OK for the result of a read to come back with fewer bytes than
were requested. So don't trigger a BUG() in that case when
initializing the data cursor.
This resolves the first problem described in:
http://tracker.ceph.com/issues/4598
Signed-off-by: Alex Elder <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions