aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/dlm/recoverd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/dlm/recoverd.c b/fs/dlm/recoverd.c
index 6e4ee94ce7df..8bb895ffd90e 100644
--- a/fs/dlm/recoverd.c
+++ b/fs/dlm/recoverd.c
@@ -168,9 +168,15 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
168 /* 168 /*
169 * Other lockspace members may be going through the "neg" steps 169 * Other lockspace members may be going through the "neg" steps
170 * while also adding us to the lockspace, in which case they'll 170 * while also adding us to the lockspace, in which case they'll
171 * be looking for this status bit during dlm_recover_locks(). 171 * be doing the recover_locks (RS_LOCKS) barrier.
172 */ 172 */
173 dlm_set_recover_status(ls, DLM_RS_LOCKS); 173 dlm_set_recover_status(ls, DLM_RS_LOCKS);
174
175 error = dlm_recover_locks_wait(ls);
176 if (error) {
177 log_error(ls, "recover_locks_wait failed %d", error);
178 goto fail;
179 }
174 } 180 }
175 181
176 dlm_release_root_list(ls); 182 dlm_release_root_list(ls);