Whamcloud - gitweb
LU-13645 ldlm: don't use a locks without l_ast_data
[fs/lustre-release.git] / lustre / osc / osc_internal.h
index 1c38522..8b54535 100644 (file)
@@ -68,7 +68,7 @@ int osc_match_base(const struct lu_env *env, struct obd_export *exp,
                   struct ldlm_res_id *res_id, enum ldlm_type type,
                   union ldlm_policy_data *policy, enum ldlm_mode mode,
                   __u64 *flags, struct osc_object *obj,
-                  struct lustre_handle *lockh, int unref);
+                  struct lustre_handle *lockh, enum ldlm_match_flags match_flags);
 
 int osc_setattr_async(struct obd_export *exp, struct obdo *oa,
                      obd_enqueue_update_f upcall, void *cookie,