Searched refs:newres (Results 1 – 1 of 1) sorted by relevance
488 struct ldlm_resource *newres; in ldlm_lock_change_resource() local509 newres = ldlm_resource_get(ns, NULL, new_resid, type, 1); in ldlm_lock_change_resource()510 if (newres == NULL) in ldlm_lock_change_resource()513 lu_ref_add(&newres->lr_reference, "lock", lock); in ldlm_lock_change_resource()522 if (oldres < newres) { in ldlm_lock_change_resource()524 lock_res_nested(newres, LRT_NEW); in ldlm_lock_change_resource()526 lock_res(newres); in ldlm_lock_change_resource()531 lock->l_resource = newres; in ldlm_lock_change_resource()