]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: use exclusive flag for store_name in RGWSystemMetaObj::create
authorOrit Wasserman <owasserm@redhat.com>
Fri, 15 Jan 2016 20:50:00 +0000 (21:50 +0100)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:55 +0000 (16:13 -0800)
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
src/rgw/rgw_rados.cc

index e1adb79bae1fda1bea2bd377407253c8426a0f53..8eb90b36f86466a9899d48fb856ba660ed56371c 100644 (file)
@@ -1,5 +1,4 @@
 
-
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
@@ -646,7 +645,7 @@ int RGWSystemMetaObj::create(bool exclusive)
     return ret;
   }
 
-  return store_name(true);
+  return store_name(exclusive);
 }
 
 int RGWSystemMetaObj::store_info(bool exclusive)