]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Make clear_temp() public for use by remove
authorDavid Zafman <david.zafman@inktank.com>
Thu, 18 Apr 2013 18:14:46 +0000 (11:14 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Sat, 20 Apr 2013 00:08:37 +0000 (17:08 -0700)
Signed-off-by: David Zafman <david.zafman@inktank.com>
src/osd/OSD.h

index 8251202faa35c18665e5d353036113d7e3a4d35f..c4934261eac0133dff6b8d454fa0724ef12ce06c 100644 (file)
@@ -521,6 +521,7 @@ public:
     hobject_t oid(sobject_t("infos", CEPH_NOSNAP));
     return oid;
   }
+  static void clear_temp(ObjectStore *store, coll_t tmp);
   
 
 private:
@@ -992,8 +993,6 @@ protected:
   
   friend class C_OSD_GetVersion;
 
-  static void clear_temp(ObjectStore *store, coll_t tmp);
-
   // -- alive --
   epoch_t up_thru_wanted;
   epoch_t up_thru_pending;