if (mtable == NULL) /* can't match portal type */
return -EPERM;
- me = lnet_me_alloc();
- if (me == NULL)
- return -ENOMEM;
+ me = lnet_me_alloc();
+ if (me == NULL)
+ return -ENOMEM;
lnet_res_lock(mtable->mt_cpt);
if (pos == LNET_INS_LOCAL)
return -EPERM;
- new_me = lnet_me_alloc();
- if (new_me == NULL)
- return -ENOMEM;
+ new_me = lnet_me_alloc();
+ if (new_me == NULL)
+ return -ENOMEM;
cpt = lnet_cpt_of_cookie(current_meh.cookie);
ptl = the_lnet.ln_portals[current_me->me_portal];
if (lnet_ptl_is_unique(ptl)) {
- /* nosense to insertion on unique portal */
+ /* nosense to insertion on unique portal */
lnet_me_free_locked(new_me);
lnet_res_unlock(cpt);
return -EPERM;