]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: call dir_suggest_changes with correct bufferlist
authorYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 14 Apr 2012 06:10:33 +0000 (23:10 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 14 Apr 2012 06:10:33 +0000 (23:10 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/rgw/rgw_rados.cc

index a1739518a892813546519bc07c8eb14b42f10612..b2f46aa6f37467c4df8014f9621c1638966c95f6 100644 (file)
@@ -2870,7 +2870,7 @@ int RGWRados::cls_bucket_list(rgw_bucket& bucket, string start, string prefix,
   if (updates.length()) {
     // we don't care if we lose suggested updates, send them off blindly
     AioCompletion *c = librados::Rados::aio_create_completion(NULL, NULL, NULL);
-    r = io_ctx.aio_exec(oid, c, "rgw", "dir_suggest_changes", in, NULL);
+    r = io_ctx.aio_exec(oid, c, "rgw", "dir_suggest_changes", updates, NULL);
     c->release();
   }
   return m.size();