[src-openeuler/rdma-core v3 3/5] libhns: separate the initialization steps of lock