Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1c99e9
)
Move policy function typedef to ldlm_internal.h.
author
dmilos
<dmilos>
Mon, 22 Sep 2003 18:32:33 +0000
(18:32 +0000)
committer
dmilos
<dmilos>
Mon, 22 Sep 2003 18:32:33 +0000
(18:32 +0000)
lustre/ldlm/ldlm_internal.h
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_internal.h
b/lustre/ldlm/ldlm_internal.h
index
a46cf7f
..
6404c56
100644
(file)
--- 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);