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-6312 lfsck: modify llsd_master_list with spin_lock
[fs/lustre-release.git]
/
lustre
/
lfsck
/
lfsck_layout.c
diff --git
a/lustre/lfsck/lfsck_layout.c
b/lustre/lfsck/lfsck_layout.c
index
2100784
..
00ef9cf
100644
(file)
--- a/
lustre/lfsck/lfsck_layout.c
+++ b/
lustre/lfsck/lfsck_layout.c
@@
-5179,6
+5179,7
@@
static void lfsck_layout_slave_quit(const struct lu_env *env,
list_del_init(&llst->llst_list);
spin_unlock(&llsd->llsd_lock);
lfsck_layout_llst_put(llst);
+ spin_lock(&llsd->llsd_lock);
}
spin_unlock(&llsd->llsd_lock);