Whamcloud - gitweb
LU-8238 ldlm: rid of obsolete param of ldlm_resource_get()
[fs/lustre-release.git] / lustre / ofd / ofd_io.c
index 71fe365..a620aa1 100644 (file)
@@ -1529,7 +1529,7 @@ int ofd_commitrw(const struct lu_env *env, int cmd, struct obd_export *exp,
                 */
                if (rc == 0 && (rnb[0].rnb_flags & OBD_BRW_SRVLOCK)) {
                        ost_fid_build_resid(fid, &info->fti_resid);
-                       rs = ldlm_resource_get(ns, NULL, &info->fti_resid,
+                       rs = ldlm_resource_get(ns, &info->fti_resid,
                                               LDLM_EXTENT, 0);
                        if (!IS_ERR(rs)) {
                                ldlm_res_lvbo_update(rs, NULL, 1);