snprintf(name, sizeof(name) - 1, "mgs_%s_notify", fsdb->fsdb_name);
complete(&fsdb->fsdb_notify_comp);
set_user_nice(current, -2);
- mgc_fsname2resid(fsdb->fsdb_name, &resid, CONFIG_T_RECOVER);
+ mgc_fsname2resid(fsdb->fsdb_name, &resid, MGS_CFG_T_RECOVER);
while (1) {
wait_event_idle(fsdb->fsdb_notify_waitq,
fsdb->fsdb_notify_stop ||
name, atomic_read(&fsdb->fsdb_notify_phase));
fsdb->fsdb_notify_start = ktime_get();
- mgs_revoke_lock(fsdb->fsdb_mgs, fsdb, CONFIG_T_RECOVER);
+ mgs_revoke_lock(fsdb->fsdb_mgs, fsdb, MGS_CFG_T_RECOVER);
}
complete(&fsdb->fsdb_notify_comp);
if (!body)
RETURN(-EINVAL);
- if (body->mcb_type != CONFIG_T_RECOVER)
+ if (body->mcb_type != MGS_CFG_T_RECOVER)
RETURN(-EINVAL);
rc = delogname(body->mcb_name, fsname, &type);