mds: remove unused purge_prealloc_ino

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2014-07-22 12:16:26 +01:00
parent 6be80873c3
commit e587088918
2 changed files with 0 additions and 12 deletions

View File

@ -5913,16 +5913,6 @@ void MDCache::do_file_recover()
recovery_queue.advance();
}
void MDCache::purge_prealloc_ino(inodeno_t ino, Context *fin)
{
object_t oid = CInode::get_object_name(ino, frag_t(), "");
object_locator_t oloc(mds->mdsmap->get_metadata_pool());
dout(10) << "purge_prealloc_ino " << ino << " oid " << oid << dendl;
SnapContext snapc;
mds->objecter->remove(oid, oloc, snapc, ceph_clock_now(g_ceph_context), 0, 0, fin);
}
// ===============================================================================

View File

@ -537,8 +537,6 @@ public:
void queue_file_recover(CInode *in);
void _queued_file_recover_cow(CInode *in, MutationRef& mut);
void purge_prealloc_ino(inodeno_t ino, Context *fin);
// subsystems
Migrator *migrator;