mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
mds: remove unused purge_prealloc_ino
Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
6be80873c3
commit
e587088918
@ -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);
|
||||
}
|
||||
|
||||
// ===============================================================================
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user