From 33489473eb286cfa1dca08ccf5435cb45d273ede Mon Sep 17 00:00:00 2001 From: Orit Wasserman Date: Fri, 15 Jan 2016 21:50:00 +0100 Subject: [PATCH] rgw: use exclusive flag for store_name in RGWSystemMetaObj::create Signed-off-by: Orit Wasserman --- src/rgw/rgw_rados.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index e1adb79bae1f..8eb90b36f864 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -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) -- 2.47.3