osd: Make clear_temp() public for use by remove

Signed-off-by: David Zafman <david.zafman@inktank.com>
This commit is contained in:
David Zafman 2013-04-18 11:14:46 -07:00
parent 460db08955
commit 37d2fe2c71

View 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;