Searched refs:newres (Results 1 – 1 of 1) sorted by relevance
468 struct ldlm_resource *newres; in ldlm_lock_change_resource() local487 newres = ldlm_resource_get(ns, NULL, new_resid, type, 1); in ldlm_lock_change_resource()488 if (newres == NULL) in ldlm_lock_change_resource()491 lu_ref_add(&newres->lr_reference, "lock", lock); in ldlm_lock_change_resource()500 if (oldres < newres) { in ldlm_lock_change_resource()502 lock_res_nested(newres, LRT_NEW); in ldlm_lock_change_resource()504 lock_res(newres); in ldlm_lock_change_resource()509 lock->l_resource = newres; in ldlm_lock_change_resource()