diff options
Diffstat (limited to 'fs/ocfs2/dlm/dlmdomain.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmdomain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c index 869648c61041..0479bdf91c2b 100644 --- a/fs/ocfs2/dlm/dlmdomain.c +++ b/fs/ocfs2/dlm/dlmdomain.c | |||
@@ -1608,6 +1608,11 @@ static struct dlm_ctxt *dlm_alloc_ctxt(const char *domain, | |||
1608 | atomic_set(&dlm->remote_resources, 0); | 1608 | atomic_set(&dlm->remote_resources, 0); |
1609 | atomic_set(&dlm->unknown_resources, 0); | 1609 | atomic_set(&dlm->unknown_resources, 0); |
1610 | 1610 | ||
1611 | for (i = 0; i < DLM_MLE_NUM_TYPES; ++i) { | ||
1612 | atomic_set(&dlm->mle_tot_count[i], 0); | ||
1613 | atomic_set(&dlm->mle_cur_count[i], 0); | ||
1614 | } | ||
1615 | |||
1611 | spin_lock_init(&dlm->work_lock); | 1616 | spin_lock_init(&dlm->work_lock); |
1612 | INIT_LIST_HEAD(&dlm->work_list); | 1617 | INIT_LIST_HEAD(&dlm->work_list); |
1613 | INIT_WORK(&dlm->dispatched_work, dlm_dispatch_work); | 1618 | INIT_WORK(&dlm->dispatched_work, dlm_dispatch_work); |