]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Objecter: exit if we detect read error
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 8 Jan 2016 04:59:19 +0000 (12:59 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 8 Jan 2016 04:59:19 +0000 (12:59 +0800)
Fixes: #14300
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osdc/Objecter.cc

index cd24478a6151049753ddfdb57b6b5f9fe4f39aff..a4d7619664583f3f9dbbf757794441fda3d8de2f 100644 (file)
@@ -4943,6 +4943,7 @@ void Objecter::_enumerate_reply(
   if (r < 0) {
     ldout(cct, 4) << __func__ << ": remote error " << r << dendl;
     on_finish->complete(r);
+    return;
   }
 
   assert(next != NULL);