ocfs2: fix cluster hang after a node dies
[sfrench/cifs-2.6.git] / fs / ocfs2 / dlm / dlmrecovery.c
index 74407c6dd592a51a6bf2c83ef39e77479e5ded85..ec8f75813beb48c3faf2f3182a117d00b0dc4b77 100644 (file)
@@ -2419,6 +2419,7 @@ static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node)
                                        dlm_lockres_put(res);
                                        continue;
                                }
                                        dlm_lockres_put(res);
                                        continue;
                                }
+                               dlm_move_lockres_to_recovery_list(dlm, res);
                        } else if (res->owner == dlm->node_num) {
                                dlm_free_dead_locks(dlm, res, dead_node);
                                __dlm_lockres_calc_usage(dlm, res);
                        } else if (res->owner == dlm->node_num) {
                                dlm_free_dead_locks(dlm, res, dead_node);
                                __dlm_lockres_calc_usage(dlm, res);