int rc = 0;
ENTRY;
- ptlrpc_daemonize("qslave_recovd");
+ cfs_daemonize_ctxt("qslave_recovd");
/* for obdfilter */
class_incref(obd, "qslave_recovd_filter", obd);
for (i = 0; i < MAXQUOTAS; i++) {
struct dquot_id *dqid, *tmp;
+ if (sb_dqopt(qctxt->lqc_sb)->files[i] == NULL)
+ continue;
+
#ifndef KERNEL_SUPPORTS_QUOTA_READ
rc = fsfilt_qids(obd, sb_dqopt(qctxt->lqc_sb)->files[i], NULL,
i, &id_list);