static void ucred_set_nid(struct mdt_thread_info *info, struct lu_ucred *uc)
{
if (info && info->mti_exp && info->mti_exp->exp_connection)
- uc->uc_nid = info->mti_exp->exp_connection->c_peer.nid;
+ uc->uc_nid = lnet_nid_to_nid4(
+ &info->mti_exp->exp_connection->c_peer.nid);
else
uc->uc_nid = LNET_NID_ANY;
}