dlm: add node slots and generation
[deliverable/linux.git] / fs / dlm / lockspace.c
index 1d16a23b0a06a69b8a6583903786a64774f06dbb..1441f04bfabebb25359d68999f948a3e44149094 100644 (file)
@@ -525,6 +525,11 @@ static int new_lockspace(const char *name, int namelen, void **lockspace,
        if (!ls->ls_recover_buf)
                goto out_dirfree;
 
+       ls->ls_slot = 0;
+       ls->ls_num_slots = 0;
+       ls->ls_slots_size = 0;
+       ls->ls_slots = NULL;
+
        INIT_LIST_HEAD(&ls->ls_recover_list);
        spin_lock_init(&ls->ls_recover_list_lock);
        ls->ls_recover_list_count = 0;
This page took 0.029558 seconds and 5 git commands to generate.