aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/dlm/dlmdomain.c')
-rw-r--r--fs/ocfs2/dlm/dlmdomain.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c
index c137d693cef3..63f8125824e8 100644
--- a/fs/ocfs2/dlm/dlmdomain.c
+++ b/fs/ocfs2/dlm/dlmdomain.c
@@ -398,6 +398,7 @@ static void dlm_destroy_dlm_worker(struct dlm_ctxt *dlm)
398static void dlm_complete_dlm_shutdown(struct dlm_ctxt *dlm) 398static void dlm_complete_dlm_shutdown(struct dlm_ctxt *dlm)
399{ 399{
400 dlm_unregister_domain_handlers(dlm); 400 dlm_unregister_domain_handlers(dlm);
401 dlm_debug_shutdown(dlm);
401 dlm_complete_thread(dlm); 402 dlm_complete_thread(dlm);
402 dlm_complete_recovery_thread(dlm); 403 dlm_complete_recovery_thread(dlm);
403 dlm_destroy_dlm_worker(dlm); 404 dlm_destroy_dlm_worker(dlm);
@@ -1418,6 +1419,12 @@ static int dlm_join_domain(struct dlm_ctxt *dlm)
1418 goto bail; 1419 goto bail;
1419 } 1420 }
1420 1421
1422 status = dlm_debug_init(dlm);
1423 if (status < 0) {
1424 mlog_errno(status);
1425 goto bail;
1426 }
1427
1421 status = dlm_launch_thread(dlm); 1428 status = dlm_launch_thread(dlm);
1422 if (status < 0) { 1429 if (status < 0) {
1423 mlog_errno(status); 1430 mlog_errno(status);
@@ -1485,6 +1492,7 @@ bail:
1485 1492
1486 if (status) { 1493 if (status) {
1487 dlm_unregister_domain_handlers(dlm); 1494 dlm_unregister_domain_handlers(dlm);
1495 dlm_debug_shutdown(dlm);
1488 dlm_complete_thread(dlm); 1496 dlm_complete_thread(dlm);
1489 dlm_complete_recovery_thread(dlm); 1497 dlm_complete_recovery_thread(dlm);
1490 dlm_destroy_dlm_worker(dlm); 1498 dlm_destroy_dlm_worker(dlm);