- write_unlock(&qsd->qsd_lock);
-
- /* there could be some unfinished global or index entry updates
- * (very unlikely), to avoid them messing up with the reint
- * procedure, we just return and try to re-start reint later. */
- if (qsd_pending_updates(qqi)) {
- write_lock(&qsd->qsd_lock);
- qqi->qqi_reint = 0;
- write_unlock(&qsd->qsd_lock);
- RETURN(0);
- }
-
- OBD_ALLOC(name, MTI_NAME_MAXLEN);
- if (name == NULL)
- RETURN(-ENOMEM);
-
- snprintf(name, MTI_NAME_MAXLEN, "qsd_reint_%d.%s",
- qqi->qqi_qtype, qsd->qsd_svname);