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:
c10f2ec
)
Followup cleanup commit to the last one: move the setting of the
author
phil
<phil>
Tue, 16 Sep 2003 18:23:24 +0000
(18:23 +0000)
committer
phil
<phil>
Tue, 16 Sep 2003 18:23:24 +0000
(18:23 +0000)
completion ast to ldlm_lock_create, where the blocking AST is set.
lustre/ldlm/ldlm_internal.h
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_internal.h
b/lustre/ldlm/ldlm_internal.h
index
9bb0df6
..
5aca55f
100644
(file)
--- a/
lustre/ldlm/ldlm_internal.h
+++ b/
lustre/ldlm/ldlm_internal.h
@@
-7,4
+7,7
@@
void ldlm_grant_lock(struct ldlm_lock *lock, void *data, int datalen,
struct ldlm_lock *
ldlm_lock_create(struct ldlm_namespace *ns,
struct lustre_handle *parent_lock_handle, struct ldlm_res_id,
- __u32 type, ldlm_mode_t, ldlm_blocking_callback, void *data);
+ __u32 type, ldlm_mode_t, ldlm_blocking_callback,
+ ldlm_completion_callback, void *data);
+ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *, struct ldlm_lock **,
+ void *cookie, int cookie_len, int *flags);