X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fldlm%2Fldlm_lock.c;h=73d522f31dd81ba9ab02bd59e0df136fc6873ce4;hp=12ffa08dea3e2a1653c76207a875682068660874;hb=9bda0a5cad190f33571ff6bce4235cd7fc4f76fd;hpb=f36a5491d0bf4d861dc3332a600fca5a450afcb6 diff --git a/lustre/ldlm/ldlm_lock.c b/lustre/ldlm/ldlm_lock.c index 12ffa08..73d522f 100644 --- a/lustre/ldlm/ldlm_lock.c +++ b/lustre/ldlm/ldlm_lock.c @@ -587,7 +587,7 @@ struct ldlm_lock *__ldlm_handle2lock(const struct lustre_handle *handle, LASSERT(handle); - lock = class_handle2object(handle->cookie, NULL); + lock = class_handle2object(handle->cookie, &lock_handle_ops); if (lock == NULL) RETURN(NULL);