Krishna Kumar2 wrote:
> Hmmm, OK, I will re-phrase this patch to reduce nesting.

Something similar to:

if (cma_any_addr...) {
        ret = rdma_translate_ip(..);
        if (ret)
                goto err1;

        mutex_lock
        ret = cma_acquire_dev
        mutex_unlock
        if (ret)
                goto err2;
}

should work fine.

- Sean

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to