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-9679 lustre: use LIST_HEAD() for local lists.
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_flock.c
diff --git
a/lustre/ldlm/ldlm_flock.c
b/lustre/ldlm/ldlm_flock.c
index
b76638b
..
7866d3f
100644
(file)
--- a/
lustre/ldlm/ldlm_flock.c
+++ b/
lustre/ldlm/ldlm_flock.c
@@
-587,10
+587,9
@@
reprocess:
* LDLM_PROCESS_ENQUEUE from ldlm_reprocess_queue.
*/
if ((mode == LCK_NL) && overlaps) {
-
struct list_head rpc_list
;
+
LIST_HEAD(rpc_list)
;
int rc;
- INIT_LIST_HEAD(&rpc_list);
restart:
ldlm_reprocess_queue(res, &res->lr_waiting,
&rpc_list,