From: Yunchuan Wen Date: Tue, 20 Dec 2016 04:36:03 +0000 (+0800) Subject: filestore: remove unused routine X-Git-Tag: v12.0.1~96^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b57c1ce2975d7ab6cfdff1dad6be6bf102a0a7fe;p=ceph.git filestore: remove unused routine _kludge_temp_object_collection is unused routine now. Signed-off-by: Yunchuan Wen --- diff --git a/src/os/filestore/FileStore.h b/src/os/filestore/FileStore.h index 300d6fd4913..9ca0c37f321 100644 --- a/src/os/filestore/FileStore.h +++ b/src/os/filestore/FileStore.h @@ -170,12 +170,6 @@ private: // - hammer temp case: cid is pg (or already temp), object pool is -1 return cid.is_pg() && oid.hobj.pool <= -1; } - void _kludge_temp_object_collection(coll_t& cid, const ghobject_t& oid) { - // - normal temp case: cid is pg, object is temp (pool < -1) - // - hammer temp case: cid is pg (or already temp), object pool is -1 - if (cid.is_pg() && oid.hobj.pool <= -1) - cid = cid.get_temp(); - } void init_temp_collections(); // ObjectMap