ocfs2: fix the crash due to call ocfs2_get_dlm_debug once less
[linux-2.6-microblaze.git] / fs / ocfs2 / dlmglue.c
index 1c4c51f..cda1027 100644 (file)
@@ -3282,6 +3282,7 @@ static void ocfs2_dlm_init_debug(struct ocfs2_super *osb)
 
        debugfs_create_u32("locking_filter", 0600, osb->osb_debug_root,
                           &dlm_debug->d_filter_secs);
+       ocfs2_get_dlm_debug(dlm_debug);
 }
 
 static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb)