Whamcloud - gitweb
LU-8238 ldlm: rid of obsolete param of ldlm_resource_get()
[fs/lustre-release.git] / lustre / ofd / ofd_obd.c
index 67ebade..1414050 100644 (file)
@@ -885,8 +885,7 @@ out:
                 * for 2nd lu_object_find() waiting for the first reference
                 * to go... deadlock!
                 */
-               res = ldlm_resource_get(ns, NULL, &info->fti_resid,
-                                       LDLM_EXTENT, 0);
+               res = ldlm_resource_get(ns, &info->fti_resid, LDLM_EXTENT, 0);
                if (!IS_ERR(res)) {
                        ldlm_res_lvbo_update(res, NULL, 0);
                        ldlm_resource_putref(res);