]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ECBackend: kill redundant assert
authorsongweibin <song.weibin@zte.com.cn>
Sat, 14 Apr 2018 03:12:50 +0000 (11:12 +0800)
committersongweibin <song.weibin@zte.com.cn>
Sat, 14 Apr 2018 03:35:16 +0000 (11:35 +0800)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/osd/ECBackend.cc

index fd36776331fbed44aadb488b40b5bb1fb1adf780..90924ca522083699db39108a467b0bfb8e4d7cb6 100644 (file)
@@ -2189,7 +2189,6 @@ struct CallClientContexts :
     if (res.r != 0)
       goto out;
     assert(res.returned.size() == to_read.size());
-    assert(res.r == 0);
     assert(res.errors.empty());
     for (auto &&read: to_read) {
       pair<uint64_t, uint64_t> adjusted =