headers: utsname.h redux
[deliverable/linux.git] / fs / ocfs2 / dlm / dlmdomain.c
index 0479bdf91c2b926b6df4d803ab125c36f026fd8c..0334000676d3ad7f48765ff1fcde2e6d8e1f3a03 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <linux/highmem.h>
-#include <linux/utsname.h>
 #include <linux/init.h>
 #include <linux/spinlock.h>
 #include <linux/delay.h>
@@ -1604,10 +1603,9 @@ static struct dlm_ctxt *dlm_alloc_ctxt(const char *domain,
 
        dlm->reco.new_master = O2NM_INVALID_NODE_NUM;
        dlm->reco.dead_node = O2NM_INVALID_NODE_NUM;
-       atomic_set(&dlm->local_resources, 0);
-       atomic_set(&dlm->remote_resources, 0);
-       atomic_set(&dlm->unknown_resources, 0);
 
+       atomic_set(&dlm->res_tot_count, 0);
+       atomic_set(&dlm->res_cur_count, 0);
        for (i = 0; i < DLM_MLE_NUM_TYPES; ++i) {
                atomic_set(&dlm->mle_tot_count[i], 0);
                atomic_set(&dlm->mle_cur_count[i], 0);
This page took 0.032777 seconds and 5 git commands to generate.