From b4a3e3d1647ec0bb4b769b8b8a26d60ac0beb833 Mon Sep 17 00:00:00 2001 From: dmilos Date: Mon, 22 Sep 2003 18:32:33 +0000 Subject: [PATCH] Move policy function typedef to ldlm_internal.h. --- lustre/ldlm/ldlm_internal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/ldlm/ldlm_internal.h b/lustre/ldlm/ldlm_internal.h index a46cf7f..6404c56 100644 --- a/lustre/ldlm/ldlm_internal.h +++ b/lustre/ldlm/ldlm_internal.h @@ -12,6 +12,9 @@ ldlm_lock_create(struct ldlm_namespace *ns, ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *, struct ldlm_lock **, void *cookie, int cookie_len, int *flags); +typedef int (*ldlm_processing_policy)(struct ldlm_lock *lock, int *flags, + int first_enq, ldlm_error_t *err); + /* ldlm_plain.c */ int ldlm_process_plain_lock(struct ldlm_lock *lock, int *flags, int first_enq, ldlm_error_t *err); -- 1.8.3.1