Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Land b1_2 onto HEAD (20040304_171022)
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_plain.c
diff --git
a/lustre/ldlm/ldlm_plain.c
b/lustre/ldlm/ldlm_plain.c
index
9b2af34
..
9a693e3
100644
(file)
--- a/
lustre/ldlm/ldlm_plain.c
+++ b/
lustre/ldlm/ldlm_plain.c
@@
-43,6
+43,8
@@
ldlm_plain_compat_queue(struct list_head *queue, struct ldlm_lock *req,
int compat = 1;
ENTRY;
+ lockmode_verify(req_mode);
+
list_for_each(tmp, queue) {
lock = list_entry(tmp, struct ldlm_lock, l_res_link);