]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
objecter: shouldn't swap bufferlist buffers
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 20 Feb 2009 22:49:44 +0000 (14:49 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 20 Feb 2009 22:49:44 +0000 (14:49 -0800)
src/osdc/Objecter.h

index efb43b2b5898cb3d2810977cf716826cb46ff807..6d22f2d0a5b42b8f13bf7471e6bbb3a4bd2f0c4a 100644 (file)
@@ -214,7 +214,7 @@ class Objecter {
               const SnapContext& snapc, bufferlist &bl, int flags,
               Context *onack, Context *oncommit) {
     ModifyOp *wr = new ModifyOp(oid, ol, ops, snapc, flags, onack, oncommit);
-    wr->bl.swap(bl);
+    wr->bl = bl;
     return modify_submit(wr);
   }