From: Alex Elder Date: Sat, 30 Mar 2013 18:31:02 +0000 (-0500) Subject: libceph: fix broken data length assertions X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~161 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1190bf06a6b033384a65b5acdb1193d41cd257a6;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed