X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Flnet%2Flib-me.c;fp=lnet%2Flnet%2Flib-me.c;h=df33c83d0ba352bda161a3627bf3449c4ebf80e3;hp=432496123bb1401592926f8b3643f1e44756c040;hb=e531dc437c56a08a65de9074a511faa55184712b;hpb=ad58230eddf50b98dfeced40180dc1a00d1f9715 diff --git a/lnet/lnet/lib-me.c b/lnet/lnet/lib-me.c index 4324961..df33c83 100644 --- a/lnet/lnet/lib-me.c +++ b/lnet/lnet/lib-me.c @@ -92,9 +92,9 @@ LNetMEAttach(unsigned int portal, 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); @@ -155,9 +155,9 @@ LNetMEInsert(lnet_handle_me_t current_meh, 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); @@ -175,7 +175,7 @@ LNetMEInsert(lnet_handle_me_t current_meh, 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;