LASSERT(info->mti_env != req->rq_svc_thread->t_env);
- /*
- * XXX Leave zeroing here, unless everything is fixed.
- */
- memset(info, 0, sizeof *info);
-
info->mti_rep_buf_nr = ARRAY_SIZE(info->mti_rep_buf_size);
for (i = 0; i < ARRAY_SIZE(info->mti_rep_buf_size); i++)
info->mti_rep_buf_size[i] = -1;
req_capsule_init(&info->mti_pill, req, RCL_SERVER,
info->mti_rep_buf_size);
memset(&info->mti_attr, 0, sizeof info->mti_attr);
+ info->mti_transno = 0;
+ info->mti_has_trans = 0;
+ info->mti_no_need_trans = 0;
}
static void mdt_thread_info_fini(struct mdt_thread_info *info)
/* If it is a remote object, and we do not retrieve
* EA back unlink reg file*/
mode = S_IFREG;
- else
+ else
mode = lu_object_attr(&mo->mot_obj.mo_lu);
LASSERT(ma->ma_lmm_size);
if (req_capsule_get_size(pill, &RMF_MDT_EPOCH, RCL_CLIENT))
info->mti_epoch = req_capsule_client_get(pill, &RMF_MDT_EPOCH);
else
- /* it is set to NULL already.
info->mti_epoch = NULL;
- */
- ;
RETURN(info->mti_epoch == NULL ? -EFAULT : 0);
}