]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: multipart complete fix
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 2 Jun 2011 16:30:48 +0000 (09:30 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 2 Jun 2011 16:30:48 +0000 (09:30 -0700)
src/rgw/rgw_op.cc

index ff1bbb9bed289a9608ad67141b04296efa1bcbe4..33d3bfd2175ea84069b347e99cd831989b2a39d3 100644 (file)
@@ -872,6 +872,11 @@ void RGWCompleteMultipart::execute()
   RGWMultiCompleteUpload *parts;
   map<int, string>::iterator iter;
   RGWMultiXMLParser parser;
+
+  ret = get_params();
+  if (ret < 0)
+    goto done;
+
   if (!data) {
     ret = -EINVAL;
     goto done;