]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: add missing method that was lost in merge
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 9 Aug 2011 17:53:09 +0000 (10:53 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 9 Aug 2011 17:53:09 +0000 (10:53 -0700)
src/librados.cc

index fc2c7a6e14a1e1167216b4ef776bb869b3845261..d761f803e06e4d1aed8e0b01ecfd1363dfb4b006 100644 (file)
@@ -194,6 +194,12 @@ void librados::ObjectReadOperation::getxattrs()
   o->getxattrs();
 }
 
+void librados::ObjectWriteOperation::create(bool exclusive)
+{
+  ::ObjectOperation *o = (::ObjectOperation *)impl;
+  o->create(exclusive);
+}
+
 void librados::ObjectWriteOperation::create(bool exclusive, const std::string& category)
 {
   ::ObjectOperation *o = (::ObjectOperation *)impl;