- /* unless this is the very first DELORPHAN (when we really
- * can destroy some orphans), just tell OST to recreate
- * missing objects in our precreate pool */
- spin_lock(&d->opd_pre_lock);
- if (d->opd_pre->osp_pre_delorphan_sent) {
- fid = d->opd_pre_last_created_fid;
- } else {
- fid = d->opd_last_used_fid;
- body->oa.o_flags = OBD_FL_DELORPHAN;
- }
- spin_unlock(&d->opd_pre_lock);
- fid_to_ostid(&fid, &body->oa.o_oi);
-
- CDEBUG(D_HA, "%s: going to cleanup orphans since "DFID"\n",
- d->opd_obd->obd_name, PFID(&fid));