From 24e2622a338bf554d0eb042b91533ba4c9d65f12 Mon Sep 17 00:00:00 2001 From: shaver Date: Fri, 17 Oct 2003 20:41:59 +0000 Subject: [PATCH] Fix implicit declaration warnings. --- lustre/ldlm/ldlm_internal.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lustre/ldlm/ldlm_internal.h b/lustre/ldlm/ldlm_internal.h index ffd74e3..41845d3 100644 --- a/lustre/ldlm/ldlm_internal.h +++ b/lustre/ldlm/ldlm_internal.h @@ -21,6 +21,8 @@ int ldlm_run_ast_work(struct ldlm_namespace *, struct list_head *rpc_list); typedef int (*ldlm_processing_policy)(struct ldlm_lock *lock, int *flags, int first_enq, ldlm_error_t *err); +struct ldlm_lock *ldlm_lock_get(struct ldlm_lock *lock); + /* ldlm_plain.c */ int ldlm_process_plain_lock(struct ldlm_lock *lock, int *flags, int first_enq, ldlm_error_t *err); @@ -32,3 +34,7 @@ int ldlm_process_extent_lock(struct ldlm_lock *lock, int *flags, int first_enq, /* ldlm_flock.c */ int ldlm_process_flock_lock(struct ldlm_lock *lock, int *flags, int first_enq, ldlm_error_t *err); + +/* ldlm_lockd.c */ +int ldlm_get_ref(void); +void ldlm_put_ref(void); -- 1.8.3.1