int size = 0;
int i;
- LASSERT(the_lnet.ln_refcount > 0);
-
lnet_res_lock(LNET_LOCK_EX);
/* NB: hold lnet_eq_wait_lock for EQ link/unlink, so we can do
* both EQ lookup and poll event with only lnet_eq_wait_lock */
__must_hold(&the_lnet.ln_eq_wait_lock)
{
signed long tms = *timeout;
- wait_queue_t wl;
+ wait_queue_entry_t wl;
int wait;
if (tms == 0)