]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: was missing return value
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 19 Aug 2011 19:33:08 +0000 (12:33 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 19 Aug 2011 19:33:08 +0000 (12:33 -0700)
src/rgw/rgw_rados.cc

index 3945dc4c4f5ab04d1088d121047f053cf53bbca3..021b08f0d65848a6f7ea90a2a294254684605dab 100644 (file)
@@ -923,6 +923,8 @@ int RGWRados::prepare_atomic_for_write(RGWRadosCtx *rctx, rgw_obj& obj, librados
   do {
     r = prepare_atomic_for_write_impl(rctx, obj, io_ctx, actual_obj, op, pstate);
   } while (r == -ECANCELED);
+
+  return r;
 }
 
 /**