diff --git a/fs/dlm/recover.c b/fs/dlm/recover.c index a7fa4cb6cd163d46dd6bd0759bf16d7506d968f1..c2cc7694cd164b6847f35c12257b6a783bf82525 100644 --- a/fs/dlm/recover.c +++ b/fs/dlm/recover.c @@ -397,7 +397,9 @@ int dlm_recover_masters(struct dlm_ls *ls) if (dlm_no_directory(ls)) count += recover_master_static(r); - else if (!is_master(r) && dlm_is_removed(ls, r->res_nodeid)) { + else if (!is_master(r) && + (dlm_is_removed(ls, r->res_nodeid) || + rsb_flag(r, RSB_NEW_MASTER))) { recover_master(r); count++; }