Whamcloud - gitweb
LU-3233 mdt: validate open handle cookies
[fs/lustre-release.git] / lustre / ldlm / ldlm_lock.c
index 1e17527..334de9c 100644 (file)
@@ -610,7 +610,7 @@ struct ldlm_lock *__ldlm_handle2lock(const struct lustre_handle *handle,
 
         LASSERT(handle);
 
-        lock = class_handle2object(handle->cookie);
+       lock = class_handle2object(handle->cookie, NULL);
         if (lock == NULL)
                 RETURN(NULL);