const union ldlm_policy_data *policy,
struct md_op_data *op_data,
struct lustre_handle *lockh, __u64 extra_lock_flags);
-
+int mdc_resource_get_unused_res(struct obd_export *exp,
+ struct ldlm_res_id *res_id,
+ struct list_head *cancels,
+ enum ldlm_mode mode, __u64 bits);
int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid,
struct list_head *cancels, enum ldlm_mode mode,
__u64 bits);