aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dlm/dlm_internal.h')
-rw-r--r--fs/dlm/dlm_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h
index 23a234bddc60..6614f335e25d 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -293,7 +293,7 @@ struct dlm_rsb {
293 int res_recover_locks_count; 293 int res_recover_locks_count;
294 294
295 char *res_lvbptr; 295 char *res_lvbptr;
296 char res_name[1]; 296 char res_name[DLM_RESNAME_MAXLEN+1];
297}; 297};
298 298
299/* find_rsb() flags */ 299/* find_rsb() flags */
@@ -477,6 +477,10 @@ struct dlm_ls {
477 struct mutex ls_timeout_mutex; 477 struct mutex ls_timeout_mutex;
478 struct list_head ls_timeout; 478 struct list_head ls_timeout;
479 479
480 spinlock_t ls_new_rsb_spin;
481 int ls_new_rsb_count;
482 struct list_head ls_new_rsb; /* new rsb structs */
483
480 struct list_head ls_nodes; /* current nodes in ls */ 484 struct list_head ls_nodes; /* current nodes in ls */
481 struct list_head ls_nodes_gone; /* dead node list, recovery */ 485 struct list_head ls_nodes_gone; /* dead node list, recovery */
482 int ls_num_nodes; /* number of nodes in ls */ 486 int ls_num_nodes; /* number of nodes in ls */