[PATCH] ocfs2: fix orphan recovery deadlock
[linux-2.6.git] / fs / ocfs2 / heartbeat.c
index 0bbd22f46c80718d59eeae874b1dad023585d449..cbfd45a97a636f445246fa9c885b6b9e330269ec 100644 (file)
@@ -67,6 +67,7 @@ void ocfs2_init_node_maps(struct ocfs2_super *osb)
        ocfs2_node_map_init(&osb->mounted_map);
        ocfs2_node_map_init(&osb->recovery_map);
        ocfs2_node_map_init(&osb->umount_map);
+       ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs);
 }
 
 static void ocfs2_do_node_down(int node_num,