Whamcloud - gitweb
LU-11164 ldlm: pass env to lvbo methods
[fs/lustre-release.git] / lustre / ofd / ofd_io.c
index 8e038ce..f61d24a 100644 (file)
@@ -1360,7 +1360,7 @@ int ofd_commitrw(const struct lu_env *env, int cmd, struct obd_export *exp,
                        rs = ldlm_resource_get(ns, NULL, &info->fti_resid,
                                               LDLM_EXTENT, 0);
                        if (!IS_ERR(rs)) {
-                               ldlm_res_lvbo_update(rs, NULL, 1);
+                               ldlm_res_lvbo_update(env, rs, NULL, 1);
                                ldlm_resource_putref(rs);
                        }
                }