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
LU-11518 osc: Do ELC on locks with no OSC object
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_lock.c
diff --git
a/lustre/osc/osc_lock.c
b/lustre/osc/osc_lock.c
index
4c76e52
..
f3ed624
100644
(file)
--- a/
lustre/osc/osc_lock.c
+++ b/
lustre/osc/osc_lock.c
@@
-726,7
+726,7
@@
unsigned long osc_ldlm_weigh_ast(struct ldlm_lock *dlmlock)
unlock_res_and_lock(dlmlock);
if (obj == NULL)
- GOTO(out, weight =
1
);
+ GOTO(out, weight =
0
);
spin_lock(&obj->oo_ol_spin);
list_for_each_entry(oscl, &obj->oo_ol_list, ols_nextlock_oscobj) {