]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge branch 'next'
authorSage Weil <sage@inktank.com>
Thu, 29 Nov 2012 23:48:54 +0000 (15:48 -0800)
committerSage Weil <sage@inktank.com>
Thu, 29 Nov 2012 23:48:54 +0000 (15:48 -0800)
Conflicts:
src/rgw/rgw_admin.cc

1  2 
src/ceph_mon.cc
src/client/Client.cc
src/mon/Monitor.cc
src/rgw/rgw_admin.cc

diff --cc src/ceph_mon.cc
Simple merge
Simple merge
Simple merge
index 6a7d7915a692e259bb01099093218bf54c905e44,0e2b8b32391830a0d139076d2f18c8b6d87c4c36..fb419d93b4cfd459408b653fa4034f5970dfc229
@@@ -650,13 -648,15 +650,22 @@@ static int remove_bucket(RGWRados *stor
    return ret;
  }
  
 +static bool bucket_object_check_filter(const string& name)
 +{
 +  string ns;
 +  string obj = name;
 +  return rgw_obj::translate_raw_obj_to_obj_in_ns(obj, ns);
 +}
 +
+ class StoreDestructor {
+   RGWRados *store;
+ public:
+   StoreDestructor(RGWRados *_s) : store(_s) {}
+   ~StoreDestructor() {
+     RGWStoreManager::close_storage(store);
+   }
+ };
  int main(int argc, char **argv) 
  {
    vector<const char*> args;